<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Laughing Meme &#187; hashing</title>
	<atom:link href="http://laughingmeme.org/tag/hashing/feed/" rel="self" type="application/rss+xml" />
	<link>http://laughingmeme.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 02 Apr 2012 20:12:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress: Resetting your password the &#8220;hard&#8221; way.</title>
		<link>http://laughingmeme.org/2008/11/19/wordpress-resetting-your-password-the-hard-way/</link>
		<comments>http://laughingmeme.org/2008/11/19/wordpress-resetting-your-password-the-hard-way/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 23:09:53 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[hashing]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/?p=4084</guid>
		<description><![CDATA[If you&#8217;ve forgetten your password to your WordPress install it has a nifty email-a-one-time-key-to-retrieve-password flow built in. Which for some reason never works on my box. (probably has to do with how I have Postfix setup doing 2ndary MXing) In the olden days the solution to this problem was to connect your database and UPDATE [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/sarabbit/1937032483/" title="more yarnings by Sarabbit, on Flickr"><img src="http://farm3.static.flickr.com/2288/1937032483_41c5f3965b.jpg" width="500" height="375" alt="more yarnings" /></a></p>

<p>If you&#8217;ve forgetten your password to your <a href="http://wordpress.org">WordPress</a> install it has a nifty email-a-one-time-key-to-retrieve-password flow built in.  Which for some reason never works on my box. (probably has to do with how I have Postfix setup doing 2ndary MXing)  In the olden days the solution to this problem was to connect your database and <code>UPDATE</code> the <code>user_pass</code> field with an <code>MD5</code> of your desired new password.  </p>

<p>But now we&#8217;re living in the future, so things are more complicated.  I still connect to my database, and manually <code>UPDATE users set user_pass=$hashed where ID=1</code>, but now I need this <a href="http://laughingmeme.org/code/wp_hasher.php.txt">handy script to generate the hashed password</a> for me.  Hopefully the 3 other people in the world this is useful for will find this blog post.</p>

<p>(And now I might start blogging again)</p>

<p>Photo from <a href="http://www.flickr.com/photos/sarabbit">sarabbit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2008/11/19/wordpress-resetting-your-password-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Working Notes on Consistent Hashing</title>
		<link>http://laughingmeme.org/2008/03/19/working-notes-on-consistent-hashing/</link>
		<comments>http://laughingmeme.org/2008/03/19/working-notes-on-consistent-hashing/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 16:51:53 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hashing]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2008/03/19/working-notes-on-consistent-hashing/</guid>
		<description><![CDATA[Nice to see consistent hashing go from obscure to blindingly obvious in a few short whitepapers. Dynamo is certainly the sexiest discussion of distributed hash tables (DHTs), while Programmerâ€™s Toolbox Part 3: Consistent Hashing is the most straightforward. libketama is open and easy to use implementation of the 64-bit space mapped to a circle style [...]]]></description>
			<content:encoded><![CDATA[<p>Nice to see consistent hashing go from obscure to blindingly obvious in a few short whitepapers.  </p>

<p><a href="http://www.allthingsdistributed.com/2007/10/amazons_dynamo.html">Dynamo</a> is certainly the sexiest discussion of distributed hash tables (DHTs), while <a href="http://www.spiteful.com/2008/03/17/programmers-toolbox-part-3-consistent-hashing/">Programmerâ€™s Toolbox Part 3: Consistent Hashing</a> is the most straightforward.  <a href="http://www.last.fm/user/RJ/journal/2007/04/10/392555/">libketama</a> is open and easy to use implementation of the 64-bit space mapped to a circle style consistent hash, discussed above and originally &#8220;popularized&#8221; by <a href="http://pdos.csail.mit.edu/chord/">Chord</a>. (and proposed <a href="http://citeseer.ist.psu.edu/karger97consistent.html">over a decade ago</a>)</p>

<p>And best quote:</p>

<blockquote>
  <p>&#8220;&#8230;and if anyone tells you that you shouldn&#8217;t use MD5 for this because it isn&#8217;t secure, just nod and back away slowly. You have identified someone not worth arguing with.&#8221;  </p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2008/03/19/working-notes-on-consistent-hashing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to calculate a Base64 encoded HMAC-SHA1 in PHP for OAuth</title>
		<link>http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/</link>
		<comments>http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 19:51:53 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[hashing]]></category>
		<category><![CDATA[hmac-sha1]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/</guid>
		<description><![CDATA[HMAC-SHA1 is the suggested default signing algorithm for OAuth 1.0 Core. This is a code snippet showing how to calculate a valid OAuth HMAC-SHA1 signature using PHP4 without any PEAR dependencies.]]></description>
			<content:encoded><![CDATA[<p>HMAC-SHA1 is the suggested default signing algorithm for OAuth 1.0 Core.  This is a code snippet showing how to calculate a valid OAuth HMAC-SHA1 signature using PHP4 without any PEAR dependencies.</p>
<p><a href='http://laughingmeme.org/code/hmacsha1.php.txt'>http://laughingmeme.org/code/hmacsha1.php.txt</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

