[Haskell-cafe] Password hashing

Bit Connor bit at mutantlemon.com
Tue Oct 28 11:42:34 EDT 2008


Hello,

What library can be used to securely hash passwords? From what I
understand, the "bcrypt" algorithm is what the experts recommend. It
is described in the paper:

http://www.openbsd.org/papers/bcrypt-paper.ps

I couldn't find a haskell library for this.

There is a BSD licensed C implementation that looks very simple here:

http://www.mindrot.org/projects/py-bcrypt/

A translation to haskell should be straight forward.
Alternatively, a haskell bcrypt library could directly use this
implementation and provide a very light FFI wrapper.

Any thoughts?


More information about the Haskell-Cafe mailing list