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