Exemple #1
0
 /// <inheritdoc />
 public override void AddSeedMaterial(
     byte[] seed)
 {
     lock (this) {
         _csRng.AddSeedMaterial(seed);
     }
 }
Exemple #2
0
 public override void AddSeedMaterial(
     byte[] seed)
 {
     lock (this) {
         _windowCount = 0;
         _csRng.AddSeedMaterial(seed);
     }
 }
Exemple #3
0
 /// <summary>
 ///     Adds entropy from an external source to the central entropy supplier,
 ///     <see cref="EntropySupplier"/>.
 ///     It is recommended to do so regularly from a high quality entropy source!
 /// </summary>
 public static void AddEntropy(byte[] entropy)
 {
     EntropySupplier.AddSeedMaterial(entropy);
 }