There are many such hashing algorithms in java also, which can prove really effective for password security. In this post, I will discuss some of them.
Note: Please remember one thing that when password hash is generated and stored in database, you can not convert it and back to it original password. Each time user login into application, you have to regenerate password hash again, and match with hash stored in database. So, if user forgot his/her password, you will have to send him a temporary password and ask him to change it with his new password. It’s common now-a-days, right..?