<?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 Ray Morgan</title>
	<atom:link href="http://raymorgan.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://raymorgan.net</link>
	<description>Web Development, Travel, Photography, and more</description>
	<lastBuildDate>Sun, 04 Sep 2011 01:42:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by admin</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-92</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 04 Sep 2011 01:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-92</guid>
		<description>@vjeux - Yes, that&#039;s probably the easiest way to go, but that requires storing the pseudo-encrypted ID, which wouldn&#039;t satisfy the requirements.</description>
		<content:encoded><![CDATA[<p>@vjeux &#8211; Yes, that&#8217;s probably the easiest way to go, but that requires storing the pseudo-encrypted ID, which wouldn&#8217;t satisfy the requirements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by admin</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-91</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 04 Sep 2011 00:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-91</guid>
		<description>I made sure NOT to reinvent any encryption at all, but to extend an existing, well-established hash (MD5), to add tamper-resistance and reversibility.

All symmetric-key encryption approaches provide reversibility, but I did not find any that provided tamper-resistance, at least not resulting in a small, compact encrypted ID.

For what it&#039;s worth, I&#039;m in the process of evaluating other base algorithms, so I&#039;m wide open to suggestions.</description>
		<content:encoded><![CDATA[<p>I made sure NOT to reinvent any encryption at all, but to extend an existing, well-established hash (MD5), to add tamper-resistance and reversibility.</p>
<p>All symmetric-key encryption approaches provide reversibility, but I did not find any that provided tamper-resistance, at least not resulting in a small, compact encrypted ID.</p>
<p>For what it&#8217;s worth, I&#8217;m in the process of evaluating other base algorithms, so I&#8217;m wide open to suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by cson</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-89</link>
		<dc:creator>cson</dc:creator>
		<pubDate>Sat, 03 Sep 2011 01:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-89</guid>
		<description>Is there a good reason to go with this over just symmetric encryption (e.g. AES)?

Encrypting 4 bytes (Int32) with a 64-bit block size should spit out a result that is about 11 characters (after using base64, please check my math). This seems like a lot of re-inventing the wheel... Is computing these 3 hashes faster than a single AES encryption? I haven&#039;t done the benchmarking myself, but my gut says that even if it is, the benefit likely doesn&#039;t outweigh the use of a standardized encryption scheme.</description>
		<content:encoded><![CDATA[<p>Is there a good reason to go with this over just symmetric encryption (e.g. AES)?</p>
<p>Encrypting 4 bytes (Int32) with a 64-bit block size should spit out a result that is about 11 characters (after using base64, please check my math). This seems like a lot of re-inventing the wheel&#8230; Is computing these 3 hashes faster than a single AES encryption? I haven&#8217;t done the benchmarking myself, but my gut says that even if it is, the benefit likely doesn&#8217;t outweigh the use of a standardized encryption scheme.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by admin</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-88</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 02 Sep 2011 07:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-88</guid>
		<description>Yes, I originally considered various alternatives for just hashing the id, but that didn&#039;t satisfy the requirement NOT to store an encrypted version of the id. With this approach, the only value stored for the id is the indexed serial integer, so lookups are fast and there&#039;s no storage overhead.</description>
		<content:encoded><![CDATA[<p>Yes, I originally considered various alternatives for just hashing the id, but that didn&#8217;t satisfy the requirement NOT to store an encrypted version of the id. With this approach, the only value stored for the id is the indexed serial integer, so lookups are fast and there&#8217;s no storage overhead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by vjeux</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-87</link>
		<dc:creator>vjeux</dc:creator>
		<pubDate>Thu, 01 Sep 2011 20:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-87</guid>
		<description>Have you considered assigning a random number for each new id? It seems to be a much easier way to go.</description>
		<content:encoded><![CDATA[<p>Have you considered assigning a random number for each new id? It seems to be a much easier way to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by admin</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-84</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 20 May 2010 00:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-84</guid>
		<description>You&#039;re correct that the colon has a special meaning in both the auth and protocol portion of a URI, but it doesn&#039;t cause any problem when used in the query string portion. Still, you can certainly replace it with %3A or change it to use other characters, like dash, dot, $ or underscore, on lines 18 and 24. Integers &gt; 2^31-1 would require a more complex implementation, as PHP&#039;s integer-handling gets sketchy above that number. </description>
		<content:encoded><![CDATA[<p>You&#8217;re correct that the colon has a special meaning in both the auth and protocol portion of a URI, but it doesn&#8217;t cause any problem when used in the query string portion. Still, you can certainly replace it with %3A or change it to use other characters, like dash, dot, $ or underscore, on lines 18 and 24. Integers > 2^31-1 would require a more complex implementation, as PHP&#8217;s integer-handling gets sketchy above that number.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by salentinux</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-83</link>
		<dc:creator>salentinux</dc:creator>
		<pubDate>Wed, 19 May 2010 18:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-83</guid>
		<description>Good article,

but it generates the &quot; : &quot; character in the encoded string that cannot be in a url because it is used for the authentication. For example encoding the int 1689 with CRYPT_SALT &quot;some random string&quot; generates &quot;NgvsvpI62eNcmhduKmX:w&quot; (without &quot;). This string pasted in a browser will fail due to &quot;:&quot; char.

Waht if I want to support a wider range of integers? (&gt; 2^31-1)

Thanks.</description>
		<content:encoded><![CDATA[<p>Good article,</p>
<p>but it generates the &#8221; : &#8221; character in the encoded string that cannot be in a url because it is used for the authentication. For example encoding the int 1689 with CRYPT_SALT &#8220;some random string&#8221; generates &#8220;NgvsvpI62eNcmhduKmX:w&#8221; (without &#8220;). This string pasted in a browser will fail due to &#8220;:&#8221; char.</p>
<p>Waht if I want to support a wider range of integers? (&gt; 2^31-1)</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Obfuscate Integer IDs by Tweets that mention How to Obfuscate Integer IDs : Ray Morgan -- Topsy.com</title>
		<link>http://raymorgan.net/web-development/how-to-obfuscate-integer-ids/comment-page-1/#comment-82</link>
		<dc:creator>Tweets that mention How to Obfuscate Integer IDs : Ray Morgan -- Topsy.com</dc:creator>
		<pubDate>Thu, 21 Jan 2010 07:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=6#comment-82</guid>
		<description>[...] This post was mentioned on Twitter by alex knorr, Sam Hunt. Sam Hunt said: News Update: How to Obfuscate Integer IDs : Ray Morgan http://ow.ly/16o00Z [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by alex knorr, Sam Hunt. Sam Hunt said: News Update: How to Obfuscate Integer IDs : Ray Morgan <a href="http://ow.ly/16o00Z" rel="nofollow">http://ow.ly/16o00Z</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Use the User Interface to Discover All the Use Cases by kenniswong</title>
		<link>http://raymorgan.net/web-development/using-the-ui-to-discover-use-cases/comment-page-1/#comment-81</link>
		<dc:creator>kenniswong</dc:creator>
		<pubDate>Tue, 29 Dec 2009 19:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://raymorgan.net/?p=7#comment-81</guid>
		<description>It totally makes sense. Simple and powerful. Even I understand it...what a feat!</description>
		<content:encoded><![CDATA[<p>It totally makes sense. Simple and powerful. Even I understand it&#8230;what a feat!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

