[
  {
    "Id": "441762",
    "ThreadId": "212344",
    "Html": "<p>Hi,</p>\r\n<p>I am using Zip reduced version, and when I query the enum of EncryptionAlgorithm I can't find WinAES.</p>\r\n<p>How do I enable WinAES algorithm?</p>",
    "PostedDate": "2010-05-11T19:00:10.923-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "441771",
    "ThreadId": "212344",
    "Html": "<p>What version of the library are you using?</p>\r\n<p>I just looked in v1.9.1.6, and the AES encryption is in there.</p>\r\n<p><img src=\"http://i41.tinypic.com/2eycot3.jpg\" alt=\"\"></p>",
    "PostedDate": "2010-05-11T19:23:18.847-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "441775",
    "ThreadId": "212344",
    "Html": "<p>version DotNetZip-src-v1.9.1.5</p>\r\n<p>The class is like this</p>\r\n<p>public enum EncryptionAlgorithm<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; None = 0,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PkzipWeak,<br><br>#if AESCRYPTO<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WinZipAes128,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WinZipAes256,<br>#endif<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unsupported = 4,<br>&nbsp;&nbsp;&nbsp; }</p>\r\n<p>The AES is supported if only AESCRYPTO is defined, may I know how to turn this flag on? And with what condition?</p>",
    "PostedDate": "2010-05-11T19:35:15.173-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "442110",
    "ThreadId": "212344",
    "Html": "<p>You turn it on when you compile the source.</p>\r\n<p>It is by default, ON, when compiling the full library or the&nbsp;reduced library.&nbsp; &nbsp;Off when compiling for the Compact Framework. &nbsp;</p>\r\n<p>Where did you get the DotNetZip binary you're using?&nbsp; Did <em>you </em>compile the source?</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-05-12T08:59:39.413-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "442374",
    "ThreadId": "212344",
    "Html": "<p>1. I get the source from http://dotnetzip.codeplex.com/releases/view/27890, download this file <a id=fileDownload1 tabindex=9 href=\"../releases/view/27890#DownloadId=81010\">DotNetZip-src-v1.9.1.5.zip</a> (the source)<br>2. Then I don't want a separate DLL, I create two folders in my library project, folder one is Zip Reduced, folder two is ZLib. Zip Reduced contains all files from reduced project, while ZLib contains all files from zlib project. Then I compile my library project.<br>3. Then using my dll, I am writing code like this :</p>\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using (ZipFile zip = new ZipFile())<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.Encryption = EncryptionAlgorithm.PkzipWeak;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.AddEntry(filename, bytes);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; zip.Save(response.OutputStream);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>\r\n<p>When typing EncryptionAlgorithm + dot (the intellisense only shows None, PkzipWeak and Unsupported).<br>May I know what files contains code to turn AESCRYPTO off?</p>",
    "PostedDate": "2010-05-12T21:20:48.123-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "442470",
    "ThreadId": "212344",
    "Html": "<blockquote style=\"border:solid .1em #ccc;font-style:italic;margin:.25em 1em 0 1em;padding:0 .25em 0 .25em\"><strong>innosia wrote:</strong><br>\r\n<p>When typing EncryptionAlgorithm + dot (the intellisense only shows None, PkzipWeak and Unsupported).<br>May I know what files contains code to turn AESCRYPTO off?</p>\r\n</blockquote>\r\n<p>&nbsp;Compile-time constants like AESCRYPTO are typically&nbsp;turned ON in the .csproj file.</p>",
    "PostedDate": "2010-05-13T04:58:42.213-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]