bcrypt password hash C library
|crypt_blowfish||Update crypt_blowfish to 1.2 (no security fixes)|
|COPYING||Add CC0 license to improve legal status|
|Makefile||Make bcrypt.a include object files instead of crypt_blowfish.a (closes …|
|README||Mention CC0 in the README file|
|bcrypt.c||Avoid sloppy use of assert in tests and examples|
|bcrypt.h||Avoid sloppy use of assert in tests and examples|
This library is a simple wrapper providing a convenient reentrant interface for the bcrypt password hashing algorithm implementation as provided by Solar Designer at http://www.openwall.com/crypt/. An exact copy of that source code is included with minor Makefile modifications in the crypt_blowfish subdirectory. The provided C interface is inspired in the bcrypt Python module that can be found at http://code.google.com/p/py-bcrypt/, and consists of a function to generate salts with the characteristic work factor parameter, and one to generate password hashes, which in turn is also used to verify passwords. Please check the header 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 the COPYING file for the legal text.