<?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 on: Matlab, RC4, and Crypto-Graphics</title>
	<atom:link href="http://www.cryptosmith.com/archives/621/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cryptosmith.com/archives/621</link>
	<description>Authentication, crypto, information security, and life with gadgets - Rick Smith</description>
	<lastBuildDate>Wed, 30 Jun 2010 12:30:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Dr. Rick Smith</title>
		<link>http://www.cryptosmith.com/archives/621/comment-page-1#comment-8206</link>
		<dc:creator>Dr. Rick Smith</dc:creator>
		<pubDate>Fri, 22 May 2009 12:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cryptosmith.com/?p=621#comment-8206</guid>
		<description>Regarding the Wikipedia example: originally, the white noise image included a comment admitting that it was &lt;em&gt;not&lt;/em&gt; produced by applying the block mode to the plaintext. The white noise image was, in fact, white noise. The image may have been replaced since then, but there&#039;s no way to tell. I&#039;ve been working on this example to produce images that were actually the result of applying a block cipher mode.

I posted the failed mode image &lt;em&gt;because&lt;/em&gt; the mistake displays itself so clearly. Most of the time, it&#039;s hard for a novice to &lt;em&gt;see&lt;/em&gt; a cryptographic failure. However, the failure is not a mode failure. This is an RC4 problem, probably caused by using too small of a key: only 64 bits. Back when browsers used so-called 40-bit keys, they incorporated lots of salt to make the actual key length 128 bits. My successful example used the same mode logic, but the RC4 key was built from 64 bits of input and 64 bits of salt.  

After I&#039;d worked up this example I finally stumbled across AES implemented in Matlab, so now I&#039;m thinking about redoing it all with AES.</description>
		<content:encoded><![CDATA[<p>Regarding the Wikipedia example: originally, the white noise image included a comment admitting that it was <em>not</em> produced by applying the block mode to the plaintext. The white noise image was, in fact, white noise. The image may have been replaced since then, but there&#8217;s no way to tell. I&#8217;ve been working on this example to produce images that were actually the result of applying a block cipher mode.</p>
<p>I posted the failed mode image <em>because</em> the mistake displays itself so clearly. Most of the time, it&#8217;s hard for a novice to <em>see</em> a cryptographic failure. However, the failure is not a mode failure. This is an RC4 problem, probably caused by using too small of a key: only 64 bits. Back when browsers used so-called 40-bit keys, they incorporated lots of salt to make the actual key length 128 bits. My successful example used the same mode logic, but the RC4 key was built from 64 bits of input and 64 bits of salt.  </p>
<p>After I&#8217;d worked up this example I finally stumbled across AES implemented in Matlab, so now I&#8217;m thinking about redoing it all with AES.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://www.cryptosmith.com/archives/621/comment-page-1#comment-8205</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Fri, 22 May 2009 07:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cryptosmith.com/?p=621#comment-8205</guid>
		<description>The ECB image I believe - same as the ECB encrypted linux penguin logo on the wikipedia article on this.

However the CBC mode and RC4 images - has to be a mistake or misunderstanding about how you use those modes, there should be nothing whatsoever visible - both should look like white noise.

Adam</description>
		<content:encoded><![CDATA[<p>The ECB image I believe &#8211; same as the ECB encrypted linux penguin logo on the wikipedia article on this.</p>
<p>However the CBC mode and RC4 images &#8211; has to be a mistake or misunderstanding about how you use those modes, there should be nothing whatsoever visible &#8211; both should look like white noise.</p>
<p>Adam</p>
]]></content:encoded>
	</item>
</channel>
</rss>
