Boost logo

Boost Users :

From: Kirit Sælensminde (kirit.saelensminde_at_[hidden])
Date: 2007-11-07 22:20:48


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/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net