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