1 write to _keyDerivationKey
Microsoft.AspNetCore.DataProtection (1)
Managed\AesGcmAuthenticatedEncryptor.cs (1)
47_keyDerivationKey = new Secret(keyDerivationKey);
9 references to _keyDerivationKey
Microsoft.AspNetCore.DataProtection (9)
Managed\AesGcmAuthenticatedEncryptor.cs (9)
101Span<byte> decryptedKdk = _keyDerivationKey.Length <= 256 102? stackalloc byte[256].Slice(0, _keyDerivationKey.Length) 103: new byte[_keyDerivationKey.Length]; 114_keyDerivationKey.WriteSecretIntoBuffer(decryptedKdkUnsafe, decryptedKdk.Length); 240Span<byte> decryptedKdk = _keyDerivationKey.Length <= 256 241? stackalloc byte[256].Slice(0, _keyDerivationKey.Length) 242: new byte[_keyDerivationKey.Length]; 253_keyDerivationKey.WriteSecretIntoBuffer(decryptedKdkUnsafe, decryptedKdk.Length); 291_keyDerivationKey.Dispose();