Beispiel #1
0
        public void Should_decrypt_Aes256Ige()
        {
            var es = new EncryptionServices();

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