As parse.com is shutting down its services, I have to migrate to mysql as of now. But I can't seem to get its password generation method.
Sample password is:
"$2a$10$oNQjqXhZjWHVb.ock1Lfs.D4yeHhtaEFdiuHNIkSsambfsSCix/96"
I read few sources and got that it uses bcrypt for password generation with cost as 10. Still I am not able to get the concept and implement the same in PHP(in which I am building my APIs for my app).
Below is the link for the same, which I came across:
What column type/length should I use for storing a Bcrypt hashed password in a Database?
Can anyone please help me build the same password generation method in php so that I don't loose out on my existing app users (I need to verify password for login and as well as generate one upon registration).
Thanks in advance!