Esempio n. 1
0
 public static string MD5(Stream value)
 {
     return(CreateHash(
                HashFactory.Create(HashingAlgorithm.MD5),
                value));
 }
Esempio n. 2
0
 public static string SHA256(Stream value)
 {
     return(CreateHash(
                HashFactory.Create(HashingAlgorithm.SHA256),
                value));
 }
Esempio n. 3
0
 public static string SHA1(byte[] value)
 {
     return(CreateHash(
                HashFactory.Create(HashingAlgorithm.SHA1),
                value));
 }