I'm looking for a simple to use cross-platform bcrypt library for C. I've searched around a couple places but nothing seems to compares to the ease of use of:

http://bcrypt.codeplex.com/SourceControl/changeset/view/1eef0262901c#BCrypt.Net.Test%2fTestBCrypt.cs

Why are all the C implementations of this a nightmare compared to this .NET lib? Basically 2 functions is what I'm looking for.

1) Generate salt (return a string)

2) Hash string using a given salt & pw (return a string)

Edit
Report