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