3 implementations of Encrypt
Microsoft.AspNetCore.DataProtection (3)
Cng\CbcAuthenticatedEncryptor.cs (1)
375public byte[] Encrypt(ArraySegment<byte> plaintext, ArraySegment<byte> additionalAuthenticatedData, uint preBufferSize, uint postBufferSize)
Cng\CngGcmAuthenticatedEncryptor.cs (1)
295public byte[] Encrypt(ArraySegment<byte> plaintext, ArraySegment<byte> additionalAuthenticatedData, uint preBufferSize, uint postBufferSize)
Managed\AesGcmAuthenticatedEncryptor.cs (1)
180public 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);