alexyoung / ircd.js

A Node ircd (IRC daemon)
GNU General Public License v3.0
528 stars 90 forks source link

Fix bcrypt warnings #65

Closed hannahherbig closed 9 years ago

hannahherbig commented 11 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. :)

csi-lk commented 10 years ago

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

sespindola commented 9 years ago

Merging, thanks.