[
  {
    "Id": "1367012",
    "ThreadId": "588145",
    "Html": "Forgive me if the answer to this is very obvious.\r<br />\n<br />\nI need to know if the AES 256 Encryption in DotNetZip (Ionic.Zip.dll) generates a random salt?\r<br />\n<br />\ne.g. Does EncryptionAlgorithm.WinZipAes256 make use of the internal class WinZipAesCrypto. And specifically the static method WinZipAesCrypto Generate??<br />\n<pre><code>  using (ZipFile zip = new ZipFile())\n  {\n    zip.AddFile(&quot;CustomerData.pdf&quot;); \n    zip.Password= &quot;123456!&quot;;\n    zip.Encryption = EncryptionAlgorithm.WinZipAes256;       \n    zip.Save(&quot;Customer.zip&quot;);\n  }\n</code></pre>\n\nOne 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?\r<br />\n<br />\nThank you<br />\n",
    "PostedDate": "2015-03-19T03:39:01.823-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]