Implemented interface member:
method
Encrypt
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor.Encrypt(System.ArraySegment<System.Byte>, System.ArraySegment<System.Byte>)
4 references to Encrypt
Microsoft.AspNetCore.DataProtection.Tests (4)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (1)
137
byte[] ciphertext = control.
Encrypt
(new ArraySegment<byte>(plaintext), new ArraySegment<byte>(aad));
Managed\ManagedAuthenticatedEncryptorTests.cs (3)
24
byte[] ciphertext = encryptor.
Encrypt
(plaintext, aad);
42
byte[] validCiphertext = encryptor.
Encrypt
(plaintext, aad);
91
byte[] retVal = encryptor.
Encrypt
(