1 write to _genRandom
Microsoft.AspNetCore.DataProtection (1)
Managed\AesGcmAuthenticatedEncryptor.cs (1)
66
_genRandom
= genRandom ?? ManagedGenRandomImpl.Instance;
2 references to _genRandom
Microsoft.AspNetCore.DataProtection (2)
Managed\AesGcmAuthenticatedEncryptor.cs (2)
170
var keyModifier =
_genRandom
.GenRandom(KEY_MODIFIER_SIZE_IN_BYTES);
171
var nonceBytes =
_genRandom
.GenRandom(NONCE_SIZE_IN_BYTES);