2 implementations of Encrypt
Microsoft.AspNetCore.DataProtection (2)
Cng\Internal\CngAuthenticatedEncryptorBase.cs (1)
53
public byte[]
Encrypt
(ArraySegment<byte> plaintext, ArraySegment<byte> additionalAuthenticatedData, uint preBufferSize, uint postBufferSize)
Managed\AesGcmAuthenticatedEncryptor.cs (1)
146
public byte[]
Encrypt
(ArraySegment<byte> plaintext, ArraySegment<byte> additionalAuthenticatedData, uint preBufferSize, uint postBufferSize)
1 reference to Encrypt
Microsoft.AspNetCore.DataProtection (1)
AuthenticatedEncryption\AuthenticatedEncryptorExtensions.cs (1)
17
return optimizedEncryptor.
Encrypt
(plaintext, additionalAuthenticatedData, preBufferSize, postBufferSize);