Пример #1
0
 /** Returns the 512-bit SHA-512 hash Of this byte string. */
 public ByteString SHA512()
 {
     return(AlgorithmHelper.HashByteString(_data, Algorithm.SHA512));
 }
Пример #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));
 }
Пример #3
0
 /** Returns the 128-bit MD5 hash Of this byte string. */
 public ByteString MD5()
 {
     return(AlgorithmHelper.HashByteString(_data, Algorithm.MD5));
 }