Can I get my bcrypt password in plain form through coding? -
i using bcrypt encryptign password , save db , need give access admin can check password possible in plain form .
bcrypt.gensalt(saltrounds, function(err, salt) { bcrypt.hash(myplaintextpassword, salt, function(err, hash) { // store hash in password db. }); });
https://www.npmjs.com/package/bcrypt
can bcrypted password in plain form through coding.
https://en.wikipedia.org/wiki/bcrypt
bcrypt password hashing function designed niels provos , david mazières, based on blowfish cipher, , presented @ usenix in 1999.
hashing functions one-way, no, cannot plain text password, , if could, encryption system useless password storage anyway.
Comments
Post a Comment