Exemple #1
0
        public void CanDecryptHash()
        {
            string  encrypted = "44bf9ba3479261e365c6389bc03bf497";
            ICrypto crypto    = new CryptoHash("commonlib.net", new MD5CryptoServiceProvider());
            bool    ismatch   = crypto.IsMatch(encrypted, "horizonguy");

            Assert.AreEqual(ismatch, true);
        }