public void Sha1EncryptionTest() { string str = "123"; var res = KillerHashSecurityHelper.Sha1Encryption(str); Console.WriteLine(res); str = "40bd001563085fc35165329ea1ff5c5ecbdbbeef"; }
public void Sha224EncryptionTest() { string str = "12300"; var res = KillerHashSecurityHelper.Sha224Encryption(str); Console.WriteLine(res); str = "6b4e03423667dbb73b6e15454f0eb1abd4597f9a1b078e3f5b5a6bc7"; //Assert.AreEqual(224, res.Length); }
public void Md5EncryptionTest() { string str = "123"; var res = KillerHashSecurityHelper.Md5Encryption(str); Assert.AreEqual(32, res.Length); }