Decode the Bcrypt encoded password in spring security to Deactivate User account
问题 I am working on web application project in Spring Hibernate MVC. I am storing encoded password in the database using Bcrypt algorithm in Spring security. Now I want to get that encoded password to be decoded to deactivate Use account where in I am giving user email and password to verify before user deactivate the account. I have problem in getting decoded password. Can anyone help me to get out of it or any alternate solution for my requirement? 回答1: The problem is solved by using below code