wasSharpNET
/Cryptography/SHA1.cs |
---|
@@ -22,7 +22,6 @@ |
return BitConverter.ToString(sha1.ComputeHash(data)).Replace("-", ""); |
} |
public static string ToHex(this System.Security.Cryptography.SHA1 sha1, string data) |
{ |
return BitConverter.ToString(sha1.ComputeHash(Encoding.UTF8.GetBytes(data))).Replace("-", ""); |
@@ -62,4 +61,4 @@ |
} |
} |
} |
} |
} |