title: simple bcrypt library for C
body: <p>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:</p>
  
  <p><a href="http://bcrypt.codeplex.com/SourceControl/changeset/view/1eef0262901c#BCrypt.Net.Test%2fTestBCrypt.cs" rel="noreferrer">http://bcrypt.codeplex.com/SourceControl/changeset/view/1eef0262901c#BCrypt.Net.Test%2fTestBCrypt.cs</a></p>
  
  <p>Why are all the C implementations of this a nightmare compared to this .NET lib? Basically 2 functions is what I'm looking for.</p>
  
  <p>1) Generate salt (return a string)</p>
  
  <p>2) Hash string using a given salt &amp; pw (return a string)</p>