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 (2)
73
byte[] ciphertext = control.
Encrypt
(new ArraySegment<byte>(plaintext), new ArraySegment<byte>(aad));
99
byte[] ciphertext = control.
Encrypt
(new ArraySegment<byte>(plaintext), new ArraySegment<byte>(aad));
Cng\GcmAuthenticatedEncryptorTests.cs (2)
28
byte[] ciphertext = encryptor.
Encrypt
(plaintext, aad);
44
byte[] validCiphertext = encryptor.
Encrypt
(plaintext, aad);