In the case, like me, you came to this question through a quick google (appeared as the top link), now you can load SCrypt as a Nuget package into your project.
PM> Install-Package Scrypt.NET
Use the following:
ScryptEncoder encoder = new ScryptEncoder(); string hashsedPassword = encoder.Encode("mypassword");
and comparisons
ScryptEncoder encoder = new ScryptEncoder(); bool areEquals = encoder.Compare("mypassword", hashedPassword);
github link here
VictorySaber May 11 '15 at 14:11 2015-05-11 14:11
source share