1 implementation of IBCryptGenRandom
Microsoft.AspNetCore.DataProtection (1)
Cng\BCryptGenRandomImpl.cs (1)
8
internal sealed unsafe class BCryptGenRandomImpl :
IBCryptGenRandom
4 references to IBCryptGenRandom
Microsoft.AspNetCore.DataProtection (4)
Cng\CbcAuthenticatedEncryptor.cs (2)
31
private readonly
IBCryptGenRandom
_genRandom;
40
public CbcAuthenticatedEncryptor(Secret keyDerivationKey, BCryptAlgorithmHandle symmetricAlgorithmHandle, uint symmetricAlgorithmKeySizeInBytes, BCryptAlgorithmHandle hmacAlgorithmHandle,
IBCryptGenRandom
? genRandom = null)
Cng\CngGcmAuthenticatedEncryptor.cs (2)
35
private readonly
IBCryptGenRandom
_genRandom;
40
public CngGcmAuthenticatedEncryptor(Secret keyDerivationKey, BCryptAlgorithmHandle symmetricAlgorithmHandle, uint symmetricAlgorithmKeySizeInBytes,
IBCryptGenRandom
? genRandom = null)