예제 #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));
 }