Exemplo n.º 1
0
 private static byte[] HashBytesSha1(byte[] b)
 {
     return(DigestAlgorithms.Digest("SHA1", b));
 }
Exemplo n.º 2
0
 /**
  * Gets the MessageDigest to digest the data imprint
  * @return the digest algorithm name
  */
 virtual public IDigest GetMessageDigest()
 {
     return(DigestAlgorithms.GetMessageDigest(digestAlgorithm));
 }