예제 #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;
 }
예제 #2
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;
 }
예제 #3
0
 internal DrbgPseudoRandom(Algorithm algorithm, IEntropySource entropySource, IDrbgProvider drbgProvider)
 {
     this.algorithm     = algorithm;
     this.entropySource = new ContinuousTestingEntropySource(entropySource);
     this.drbgProvider  = drbgProvider;
 }