示例#1
0
        public void Get_hash_with_alpha_numeric()
        {
            string text = "5MkqSmxmux6eRVv17nfusWck98lHtc";
            string hash = Encripty.Crypt(text, password, key);


            Assert.NotEqual(text, hash);
            Assert.Equal(text, Encripty.Decrypt(hash, password, key));
        }