
8 Nov
2007
8 Nov
'07
3:20 a.m.
Mark Wyszomierski wrote:
Hi,
I'm trying to hash a string, something like:
1) Take string (password) from user 2) Hash it 3) Store to disk
I see boost has some hashing features, but am not quite sure how they work. Do they do this type of thing? I'm looking for some really simple hashing, this is just for a simple application.
There is a Boost.Crypto in the vault - http://lists.boost.org/Archives/boost/2007/09/127248.php We use OpenSSL for this on Windows which I'm pretty sure also works on Unix too. Don't forget to salt the password before hashing :) K -- http://www.kirit.com/