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