2 references to AesGcmAuthenticatedEncryptor
Microsoft.AspNetCore.DataProtection (1)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
59
return new
AesGcmAuthenticatedEncryptor
(secret, GetAlgorithmKeySizeInBits(authenticatedConfiguration.EncryptionAlgorithm) / 8);
Microsoft.AspNetCore.DataProtection.Tests (1)
Aes\AesAuthenticatedEncryptorTests.cs (1)
21
IAuthenticatedEncryptor encryptor = new
AesGcmAuthenticatedEncryptor
(kdk, derivedKeySizeInBytes: symmetricKeySizeBits / 8);