示例#1
0
        public void Test1()
        {
            Cipher_Atbash atbash       = new Cipher_Atbash();
            string        resultEncode = atbash.Encode("Лол работает");
            string        resultDecode = atbash.decrypt(resultEncode);

            Assert.AreEqual("Лол работает", resultDecode);
            Assert.AreEqual("АЭ лЫ,.ЭЩ,7Щ", resultEncode);
        }
示例#2
0
        public void encodeToAtabash()
        {
            Cipher_Atbash cipher_Atbash = new Cipher_Atbash();

            afterText = cipher_Atbash.Encode(beforeText);
        }