Exemplo n.º 1
0
        public void DecryptMixed3()
        {
            Decryption mixed = new Decryption();

            char[] key    = "3579XIPEPXFBQQSFDJBUF".ToCharArray();
            string answer = mixed.DecryptAlphaNumeric(key);

            Assert.AreEqual("2468WHODOWEAPPRECIATE", answer);
        }
Exemplo n.º 2
0
        public void DecryptMixed2()
        {
            Decryption mixed = new Decryption();

            char[] key    = "BCDEFGHGFEDCB".ToCharArray();
            string answer = mixed.DecryptAlphaNumeric(key);

            Assert.AreEqual("ABCDEFGFEDCBA", answer);
        }