DotNetZip WinZipAes256 Using Random Salt?

Mar 19, 2015 at 10:39 AM
Forgive me if the answer to this is very obvious.

I need to know if the AES 256 Encryption in DotNetZip (Ionic.Zip.dll) generates a random salt?

e.g. Does EncryptionAlgorithm.WinZipAes256 make use of the internal class WinZipAesCrypto. And specifically the static method WinZipAesCrypto Generate??
  using (ZipFile zip = new ZipFile())
  {
    zip.AddFile("CustomerData.pdf"); 
    zip.Password= "123456!";
    zip.Encryption = EncryptionAlgorithm.WinZipAes256;       
    zip.Save("Customer.zip");
  }
One of the requirements put to me, in a development i am working on, is that a random salt must be generated every time we AES encrypt and I need to be 100% sure that this is the case?

Thank you