Exemplo n.º 1
0
        public void CheckIfDecryptedCipherTextCanBeRead()
        {
            int expectedCiphertext = 138;
            int plaintext          = sdes.Decrypt(ciphertext);

            Assert.AreEqual(expectedCiphertext, ciphertext);
            Assert.AreEqual(expectedPlaintext, plaintext);
        }