Example #1
0
        public void EncryptDecryptBasic()
        {
            Rot13 cipher           = new Rot13();
            var   intermediaryText = cipher.Encrypt(TestString);

            Assert.AreNotEqual(TestString, ExpectedString);
            var plainText = cipher.Decrypt(intermediaryText);

            Assert.AreEqual(TestString, plainText);
        }