Implemented interface member:
method
Decrypt
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor.Decrypt(System.ArraySegment<System.Byte>, System.ArraySegment<System.Byte>)
5 references to Decrypt
Microsoft.AspNetCore.DataProtection.Tests (5)
Managed\ManagedAuthenticatedEncryptorTests.cs (5)
25
byte[] decipheredtext = encryptor.
Decrypt
(new ArraySegment<byte>(ciphertext), aad);
49
encryptor.
Decrypt
(new ArraySegment<byte>(invalidCiphertext_tooShort), aad);
58
encryptor.
Decrypt
(new ArraySegment<byte>(invalidCiphertext_manipulated), aad);
66
encryptor.
Decrypt
(new ArraySegment<byte>(invalidCiphertext_tooLong), aad);
73
encryptor.
Decrypt
(new ArraySegment<byte>(validCiphertext), new ArraySegment<byte>(Encoding.UTF8.GetBytes("different aad")));