public void ComputeSha512Hash_Should_Return_Sha512_String() { var hh = new HashingHelpers(); var hashed = hh.ComputeSha512Hash(TextToHash); Assert.IsTrue(!string.IsNullOrWhiteSpace(hashed)); Assert.AreEqual(hashed.Length, 128); }
public void ComputeSha512Hash_Should_Return_Sha512_String() { var hh = new HashingHelpers(); var hashed = hh.ComputeSha512Hash(TextToHash); Assert.IsTrue(!string.IsNullOrWhiteSpace(hashed)); Assert.AreEqual(hashed.Length, 128); }