コード例 #1
0
ファイル: UnitTestAes.cs プロジェクト: schempion/kybus-enigma
        public void Aes192_encrypt()
        {
            var(data, expected) = TestVectors["AES-192 Encryption"];

            var ciphertext = Aes192.Encrypt(data);

            CustomAssert.MatchArrays(ciphertext, expected);
        }
コード例 #2
0
ファイル: UnitTestAes.cs プロジェクト: schempion/kybus-enigma
        public void Aes192_decrypt()
        {
            var(data, expected) = TestVectors["AES-192 Decryption"];

            var plaintext = Aes192.Decrypt(data);

            CustomAssert.MatchArrays(plaintext, expected);
        }