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)
25byte[] decipheredtext = encryptor.Decrypt(new ArraySegment<byte>(ciphertext), aad); 49encryptor.Decrypt(new ArraySegment<byte>(invalidCiphertext_tooShort), aad); 58encryptor.Decrypt(new ArraySegment<byte>(invalidCiphertext_manipulated), aad); 66encryptor.Decrypt(new ArraySegment<byte>(invalidCiphertext_tooLong), aad); 73encryptor.Decrypt(new ArraySegment<byte>(validCiphertext), new ArraySegment<byte>(Encoding.UTF8.GetBytes("different aad")));