public void ComputeSha256Hash_Should_Return_Sha256_String() { var hh = new HashingHelpers(); var hashed = hh.ComputeSha256Hash(TextToHash); Assert.IsTrue(!string.IsNullOrWhiteSpace(hashed)); Assert.AreEqual(hashed.Length, 64); }
public void ComputeSha256Hash_Should_Return_Sha256_String() { var hh = new HashingHelpers(); var hashed = hh.ComputeSha256Hash(TextToHash); Assert.IsTrue(!string.IsNullOrWhiteSpace(hashed)); Assert.AreEqual(hashed.Length, 64); }