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