- Notifications
You must be signed in to change notification settings - Fork72
bcrypt password hash C library
License
NotificationsYou must be signed in to change notification settings
rg3/libbcrypt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This library is a simple wrapper providing a convenient reentrant interface forthe bcrypt password hashing algorithm implementation as provided by SolarDesigner athttp://www.openwall.com/crypt/. An exact copy of that source codeis included in the crypt_blowfish subdirectory.The provided C interface is inspired in the bcrypt Python module that can befound athttp://code.google.com/p/py-bcrypt/, and consists of a function togenerate salts with the characteristic work factor parameter, one to generatepassword hashes which can also used to verify passwords and one designedspecifically to verify passwords and avoid timing attacks. Please check theheader bcrypt.h. It contains the prototypes and lots of comments with examples.All this code is released to the public domain under the terms of CC0. See theCOPYING file for the legal text.