Exemple #1
0
 /** Returns the 512-bit SHA-512 hash Of this byte string. */
 public ByteString SHA512()
 {
     return(AlgorithmHelper.HashByteString(_data, Algorithm.SHA512));
 }
Exemple #2
0
 /** Returns the 512-bit SHA-512 HMAC Of this byte string. */
 public ByteString HMACSHA512(ByteString key)
 {
     return(AlgorithmHelper.HashByteString(_data, Algorithm.HMACSHA512, key));
 }
Exemple #3
0
 /** Returns the 128-bit MD5 hash Of this byte string. */
 public ByteString MD5()
 {
     return(AlgorithmHelper.HashByteString(_data, Algorithm.MD5));
 }