Closed hannahherbig closed 9 years ago
gen_salt and encrypt are now deprecated in favor of genSalt and hash. I also changed the code to just call bcrypt.hash with the desired salt length instead of generating the salt separately. Less code that does the same job. :)
gen_salt
encrypt
genSalt
hash
bcrypt.hash
This really needs to be added in, bcrypt fails in the current implementation as there is no longer a function gen_salt
Thanks for the solution
Merging, thanks.
gen_salt
andencrypt
are now deprecated in favor ofgenSalt
andhash
. I also changed the code to just callbcrypt.hash
with the desired salt length instead of generating the salt separately. Less code that does the same job. :)