What do you want to save?
Add Code snippet
New code examples
-
C# 2021-09-06 01:52:02
c# sha1 password example
System.Security.Cryptography.SHA1 hasher = System.Security.Cryptography.SHA1.Create(); string Password = "1234"; // Convert to bytes Byte[] PasswordAsBytes = System.Text.Encoding.UTF8.GetBytes(Password); // Hash bytes Byte[] HashedPassword = has... Add solution