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)
47
byte[] ciphertext = control.
Encrypt
(new ArraySegment<byte>(plaintext), new ArraySegment<byte>(aad));
Cng\CbcAuthenticatedEncryptorTests.cs (2)
34
byte[] ciphertext = encryptor.
Encrypt
(plaintext, aad);
53
byte[] validCiphertext = encryptor.
Encrypt
(plaintext, aad);