Exemplo n.º 1
0
        public void Aes192cbc_decrypt()
        {
            var(data, expected) = TestVectors["AES-192 Decryption (CBC Mode)"];

            var plaintext = Aes192Cbc.Decrypt(data);

            CustomAssert.MatchArrays(plaintext, expected);
        }
Exemplo n.º 2
0
        public void Aes192cbc_encrypt()
        {
            var(data, expected) = TestVectors["AES-192 Encryption (CBC Mode)"];

            var ciphertext = Aes192Cbc.Encrypt(data);

            CustomAssert.MatchArrays(ciphertext, expected);
        }