Esempio n. 1
0
 /// <summary>
 /// Hashes the specified data bytes.
 /// </summary>
 /// <param name="hashData">The hash data.</param>
 /// <returns>
 /// Hashed bytes
 /// </returns>
 protected override byte[] Hash(byte[] hashData)
 {
     using (var sha384 = CryptoAbstraction.CreateSHA384())
     {
         return(sha384.ComputeHash(hashData, 0, hashData.Length));
     }
 }