Esempio n. 1
0
 /// <summary>
 /// Creates encoder settings with a random seed.
 /// </summary>
 /// <remarks>
 /// This overload does not dispose the encoder seed. This is no security flaw because the
 /// seed is public anyways. If you still want to ensure there are no traces in memory when
 /// you are done, use the other overload which gives you control over disposing the seed.
 /// </remarks>
 public AesEncoderSettings(PasswordStorage password)
     : this(password, AesEncoderSeed.CreateRandom())
 {
 }
Esempio n. 2
0
 public AesEncoderSettings(PasswordStorage password, AesEncoderSeed seed)
 {
     mPassword = password;
     mSeed     = seed;
     mSlowdown = 19; // 7z922 has this parameter fixed
 }
Esempio n. 3
0
 public AesEncoderSettings(PasswordStorage password, AesEncoderSeed seed)
 {
     mPassword = password;
     mSeed = seed;
     mSlowdown = 19; // 7z922 has this parameter fixed
 }