Password Salting/Hashing with bcrypt [closed]

倾然丶 夕夏残阳落幕 提交于 2019-12-11 19:27:33

问题


So i've been trying to find a library to salt/hash my passwords using bcrypt algorithm but can't seem to find a well documented library. Any recommendations ?


回答1:


This is the standard implementation for C:

http://www.openwall.com/crypt/

PostgreSQL and many others use this open-source implementation.




回答2:


Ok noone seems to be interested. I'll try to share my own research results. OpenSSL/Botan/Crypto++/libsodium are the ones i came across. Had a chance to try Botan so far. It doesn't let you create a hash with your own salt but it has a function called bcrypt_check which gets the job done. Also it has bunch of other useful crypto/algorithm stuff.



来源:https://stackoverflow.com/questions/31502473/password-salting-hashing-with-bcrypt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!