public void CryptoHashSHA512ArrayTest() { var actual = CryptoHash.SHA512(Encoding.ASCII.GetBytes("Adam Caudill")); CollectionAssert.AreEqual(Utilities.HexToBinary(SHA512_HASH), actual); }
public void CryptoHashSHA512StringTest() { var actual = CryptoHash.SHA512("Adam Caudill"); CollectionAssert.AreEqual(Utilities.HexToBinary(SHA512_HASH), actual); }