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)
137byte[] ciphertext = control.Encrypt(new ArraySegment<byte>(plaintext), new ArraySegment<byte>(aad));
Managed\ManagedAuthenticatedEncryptorTests.cs (3)
24byte[] ciphertext = encryptor.Encrypt(plaintext, aad); 42byte[] validCiphertext = encryptor.Encrypt(plaintext, aad); 91byte[] retVal = encryptor.Encrypt(