public void ComputeSha1Hash_Should_Return_Sha1_String() { var hh = new HashingHelpers(); var hashed = hh.ComputeSha1Hash(TextToHash); Assert.IsTrue(!string.IsNullOrWhiteSpace(hashed)); Assert.AreEqual(hashed.Length, 40); }
public void ComputeSha1Hash_Should_Return_Sha1_String() { var hh = new HashingHelpers(); var hashed = hh.ComputeSha1Hash(TextToHash); Assert.IsTrue(!string.IsNullOrWhiteSpace(hashed)); Assert.AreEqual(hashed.Length, 40); }