<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Martin Matula&#039;s Blog</title>
	<atom:link href="http://blog.alutam.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alutam.com</link>
	<description></description>
	<lastBuildDate>Thu, 18 Feb 2010 17:11:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by endyk</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-140</link>
		<dc:creator>endyk</dc:creator>
		<pubDate>Thu, 18 Feb 2010 17:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-140</guid>
		<description>hello sir,
i h&#039;d successed in decrypting,
but, may i know how the code for creating zip file with password in java
thankyou much... :)</description>
		<content:encoded><![CDATA[<p>hello sir,<br />
i h&#8217;d successed in decrypting,<br />
but, may i know how the code for creating zip file with password in java<br />
thankyou much&#8230; <img src='http://blog.alutam.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by endyk</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-139</link>
		<dc:creator>endyk</dc:creator>
		<pubDate>Thu, 18 Feb 2010 09:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-139</guid>
		<description>hi, thankyou, i&#039;ll try this one</description>
		<content:encoded><![CDATA[<p>hi, thankyou, i&#8217;ll try this one</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by Martin</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-138</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 03 Feb 2010 00:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-138</guid>
		<description>Hi,
the ZIP spec. says:
&quot;After the header is decrypted,  the last 1 or 2 bytes in Buffer
should be the high-order word/byte of the CRC for the file being
decrypted, stored in Intel low-byte/high-byte order.  Versions of
PKZIP prior to 2.0 used a 2 byte CRC check; a 1 byte CRC check is
used on versions after 2.0.  This can be used to test if the password
supplied is correct or not.&quot;

In the code from my blog, you could do this check at the end of the HEADER case branch. To compare the header bytes with the CRC of the file, you would have to add another branch for reading the CRC as well - CRC of the file are 4 bytes just before the COMPRESSED_SIZE section of the zip file.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
the ZIP spec. says:<br />
&#8220;After the header is decrypted,  the last 1 or 2 bytes in Buffer<br />
should be the high-order word/byte of the CRC for the file being<br />
decrypted, stored in Intel low-byte/high-byte order.  Versions of<br />
PKZIP prior to 2.0 used a 2 byte CRC check; a 1 byte CRC check is<br />
used on versions after 2.0.  This can be used to test if the password<br />
supplied is correct or not.&#8221;</p>
<p>In the code from my blog, you could do this check at the end of the HEADER case branch. To compare the header bytes with the CRC of the file, you would have to add another branch for reading the CRC as well &#8211; CRC of the file are 4 bytes just before the COMPRESSED_SIZE section of the zip file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by Martin</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-137</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 02 Feb 2010 23:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-137</guid>
		<description>Do you mean ZipEncryptOutputStream, that would password protect the zip? No, that one I did not do. I did not need it and ZipOutputStream does things the way that makes it a little bit harder to implement similarly simple output stream for encryption.</description>
		<content:encoded><![CDATA[<p>Do you mean ZipEncryptOutputStream, that would password protect the zip? No, that one I did not do. I did not need it and ZipOutputStream does things the way that makes it a little bit harder to implement similarly simple output stream for encryption.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by Martin</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-136</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 02 Feb 2010 23:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-136</guid>
		<description>Heather, this class cannot handle the AES256 encryption - just the basic pkware encryption that was used in earlier versions of ZIP files.</description>
		<content:encoded><![CDATA[<p>Heather, this class cannot handle the AES256 encryption &#8211; just the basic pkware encryption that was used in earlier versions of ZIP files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by Tyler Durden</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-135</link>
		<dc:creator>Tyler Durden</dc:creator>
		<pubDate>Fri, 29 Jan 2010 11:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-135</guid>
		<description>Is there an ZipDecryptOutputStream class too?</description>
		<content:encoded><![CDATA[<p>Is there an ZipDecryptOutputStream class too?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by Eloïse P.</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-134</link>
		<dc:creator>Eloïse P.</dc:creator>
		<pubDate>Thu, 28 Jan 2010 13:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-134</guid>
		<description>How do I know if the password is correct?
Sorry for my English!
Thanks :)</description>
		<content:encoded><![CDATA[<p>How do I know if the password is correct?<br />
Sorry for my English!<br />
Thanks <img src='http://blog.alutam.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JavaFX Password Field by rodrigo salado anaya</title>
		<link>http://blog.alutam.com/2009/09/12/javafx-password-field/comment-page-1/#comment-133</link>
		<dc:creator>rodrigo salado anaya</dc:creator>
		<pubDate>Tue, 26 Jan 2010 17:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=76#comment-133</guid>
		<description>perfecto... muy bueno y bonito , me gusto mucho :) gracias... yo are el mio basándome en el tuyo gracias...</description>
		<content:encoded><![CDATA[<p>perfecto&#8230; muy bueno y bonito , me gusto mucho <img src='http://blog.alutam.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  gracias&#8230; yo are el mio basándome en el tuyo gracias&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by Heather</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-132</link>
		<dc:creator>Heather</dc:creator>
		<pubDate>Wed, 20 Jan 2010 18:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-132</guid>
		<description>This is great and a time saver.  however, I&#039;m getting an invalid compression method when the ZipInputStream is trying to read my file.  It&#039;s using pkzip format and AES256 bit encryption.  It seems like I shouldn&#039;t need to change anything, but I don&#039;t know.  If anyone could help or offer input? :)</description>
		<content:encoded><![CDATA[<p>This is great and a time saver.  however, I&#8217;m getting an invalid compression method when the ZipInputStream is trying to read my file.  It&#8217;s using pkzip format and AES256 bit encryption.  It seems like I shouldn&#8217;t need to change anything, but I don&#8217;t know.  If anyone could help or offer input? <img src='http://blog.alutam.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading Password-Protected ZIP Files in Java by Vincenzo</title>
		<link>http://blog.alutam.com/2009/10/31/reading-password-protected-zip-files-in-java/comment-page-1/#comment-131</link>
		<dc:creator>Vincenzo</dc:creator>
		<pubDate>Wed, 13 Jan 2010 17:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.alutam.com/?p=102#comment-131</guid>
		<description>What zip softwares do still use pkware encryption???</description>
		<content:encoded><![CDATA[<p>What zip softwares do still use pkware encryption???</p>
]]></content:encoded>
	</item>
</channel>
</rss>
