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