示例#1
0
 internal SP800SecureRandom(SecureRandom randomSource, IEntropySource entropySource, IDrbgProvider drbgProvider, bool predictionResistant)
     : base((IRandomGenerator)null)
 {
     this.mRandomSource        = randomSource;
     this.mEntropySource       = entropySource;
     this.mDrbgProvider        = drbgProvider;
     this.mPredictionResistant = predictionResistant;
 }
 internal SP800SecureRandom(SecureRandom randomSource, IEntropySource entropySource, IDrbgProvider drbgProvider, bool predictionResistant)
     : base((IRandomGenerator)null)
 {
     this.mRandomSource = randomSource;
     this.mEntropySource = entropySource;
     this.mDrbgProvider = drbgProvider;
     this.mPredictionResistant = predictionResistant;
 }
 internal DrbgPseudoRandom(Algorithm algorithm, IEntropySource entropySource, IDrbgProvider drbgProvider)
 {
     this.algorithm     = algorithm;
     this.entropySource = new ContinuousTestingEntropySource(entropySource);
     this.drbgProvider  = drbgProvider;
 }