1 implementation of GenRandom
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedGenRandomImpl.cs (1)
24
public byte[]
GenRandom
(int numBytes)
2 references to GenRandom
Microsoft.AspNetCore.DataProtection (2)
Managed\AesGcmAuthenticatedEncryptor.cs (2)
168
var keyModifier = _genRandom.
GenRandom
(KEY_MODIFIER_SIZE_IN_BYTES);
169
var nonceBytes = _genRandom.
GenRandom
(NONCE_SIZE_IN_BYTES);