I have a MySQL database where one column is used to store password.
It is implemented in PHP, using password_hash()
to salt and hash the original password on registering, and retrieving the MySQL row of the logging-in user and then password_verify()
its password.
But I need to move it in Java. So are there Java equivalents for password_hash()
and password_verify()
?
password_hash
using?BCRYPT
(blowfish) with apparently different cycles count