[Haskell-cafe] Password hashing

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


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:


I couldn't find a haskell library for this.

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


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