Reputation: 21473
A number of scripting languages (Python/PHP/etc...) include functionality (sometimes through extensions) that allows you to use Blowfish as a one way hash on passwords. I'm trying to find a similar implementation for C++ but everything I've come across is an encryption/decryption solution.
Can somebody recommend a library for C++ that provides the same functionality?
Upvotes: 4
Views: 1770
Reputation: 11535
There's a java version at jbcrypt. There's a paper on bcrypt at openbsd.org and microsoft. You can find the source for bcrypt at http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/crypt/ and more info at http://www.openwall.com/crypt/
Upvotes: 6