How to do a password_verify in meteor from a password_hash in php?


#1

Hello,

I’m trying to do a password_verify in meteor without using the accounts-password package. This is because we have a different program created in php that handled the account creation. I was already able to successfully connect the meteor project to the mysql database but I don’t know how to verify the hashing of the password.

The php function used for the password was

password_hash ( ‘password’, PASSWORD_BCRYPT, [‘cost’=>15] )

in php this would just require password_verify, but I don’t know how to use it in meteor.

Any help is appreciated.