title: Lua or C equivalent to System.Web.Helpers.Crypto.VerifyHashedPassword
body: <p>I'm looking for the Lua or C equivalent to the .NET method System.Web.Helpers.Crypto.VerifyHashedPassword. The issue I'm solving for is the password hash being created by a .NET application but need to have a Lua application handle the authentication.</p>
  
  <p>The source for the .NET class is available <a href="http://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Web.Helpers/Crypto.cs" rel="nofollow">here</a> but it seems this will get fairly deep and difficult quickly to rebuild in either Lua or C.</p>
  
  <p>Existing crypto libraries in Lua didn't appear to solve this issue.</p>
  
  <p>Any help is appreciated!</p>