Implemented interface member:
method
Encrypt
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor.Encrypt(System.ArraySegment<System.Byte>, System.ArraySegment<System.Byte>)
3 references to Encrypt
Microsoft.AspNetCore.DataProtection.Tests (3)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (1)
47byte[] ciphertext = control.Encrypt(new ArraySegment<byte>(plaintext), new ArraySegment<byte>(aad));
Cng\CbcAuthenticatedEncryptorTests.cs (2)
34byte[] ciphertext = encryptor.Encrypt(plaintext, aad); 53byte[] validCiphertext = encryptor.Encrypt(plaintext, aad);