Beispiel #1
0
        // private methods...
        void CheckMd5ForString(string message, string digest)
        {
            var actualMd5   = Md5Hash.Calculate(message);
            var expectedMd5 = Md5Hash.Parse(digest);

            Assert.That(actualMd5, Is.EqualTo(expectedMd5), "Md5 hashes are not equlas!");
        }