예제 #1
0
        public void Should_encrypt_Aes256Ige()
        {
            var es = new EncryptionServices();

            byte[] encryptedData = es.Aes256IgeEncrypt(TestData.ServerDHInnerDataWithHash, TestData.TmpAesKey, TestData.TmpAesIV);
            encryptedData.ShouldAllBeEquivalentTo(TestData.ServerDHParamsOkEncryptedAnswer);
        }