1 implementation of IManagedGenRandom
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedGenRandomImpl.cs (1)
8
internal sealed unsafe class ManagedGenRandomImpl :
IManagedGenRandom
4 references to IManagedGenRandom
Microsoft.AspNetCore.DataProtection (4)
Managed\AesGcmAuthenticatedEncryptor.cs (2)
44
private readonly
IManagedGenRandom
_genRandom;
46
public AesGcmAuthenticatedEncryptor(ISecret keyDerivationKey, int derivedKeySizeInBytes,
IManagedGenRandom
? genRandom = null)
Managed\ManagedAuthenticatedEncryptor.cs (2)
32
private readonly
IManagedGenRandom
_genRandom;
41
public ManagedAuthenticatedEncryptor(Secret keyDerivationKey, Func<SymmetricAlgorithm> symmetricAlgorithmFactory, int symmetricAlgorithmKeySizeInBytes, Func<KeyedHashAlgorithm> validationAlgorithmFactory,
IManagedGenRandom
? genRandom = null)