3 references to GetAlgorithmKeySizeInBits
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (3)
59
return new AesGcmAuthenticatedEncryptor(secret,
GetAlgorithmKeySizeInBits
(authenticatedConfiguration.EncryptionAlgorithm) / 8);
87
EncryptionAlgorithmKeySize =
GetAlgorithmKeySizeInBits
(authenticatedConfiguration.EncryptionAlgorithm),
99
EncryptionAlgorithmKeySize =
GetAlgorithmKeySizeInBits
(authenticatedConfiguration.EncryptionAlgorithm),