<?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>Tom Dalling &#187; Security</title>
	<atom:link href="http://www.tomdalling.com/blog/category/security/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tomdalling.com/blog</link>
	<description>Thoughts of a software developer</description>
	<lastBuildDate>Thu, 17 May 2012 08:35:45 +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>MD5 Hashes in Cocoa</title>
		<link>http://www.tomdalling.com/blog/cocoa/md5-hashes-in-cocoa</link>
		<comments>http://www.tomdalling.com/blog/cocoa/md5-hashes-in-cocoa#comments</comments>
		<pubDate>Thu, 24 Sep 2009 03:12:25 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.tomdalling.com/?p=175</guid>
		<description><![CDATA[Let&#8217;s jump straight into the code: #import &#60;CommonCrypto/CommonDigest.h&#62; &#160; NSString* MD5StringOfString&#40;NSString* inputStr&#41; &#123; NSData* inputData = &#91;inputStr dataUsingEncoding:NSUTF8StringEncoding&#93;; unsigned char outputData&#91;CC_MD5_DIGEST_LENGTH&#93;; CC_MD5&#40;&#91;inputData bytes&#93;, &#91;inputData length&#93;, outputData&#41;; &#160; NSMutableString* hashStr = &#91;NSMutableString string&#93;; int i = 0; for &#40;i = 0; i &#60; CC_MD5_DIGEST_LENGTH; ++i&#41; &#91;hashStr appendFormat:@&#34;%02x&#34;, outputData&#91;i&#93;&#93;; &#160; return hashStr; &#125; Now for the explanation. [...]]]></description>
		<wfw:commentRss>http://www.tomdalling.com/blog/cocoa/md5-hashes-in-cocoa/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Crack an MD5 hash in less than a second</title>
		<link>http://www.tomdalling.com/blog/security/crack-an-md5-hash-in-less-than-a-second</link>
		<comments>http://www.tomdalling.com/blog/security/crack-an-md5-hash-in-less-than-a-second#comments</comments>
		<pubDate>Tue, 01 Sep 2009 04:43:24 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.tomdalling.com/?p=146</guid>
		<description><![CDATA[Here is a common misconception when it comes to password security: &#8220;It&#8217;s unsafe store user passwords as plain text in the database, so I&#8217;ll MD5 the passwords. MD5 is safe because it is one-way encryption, and takes too long to brute force.&#8221; WRONG! An unsalted MD5 hash can be cracked in less than a second, [...]]]></description>
		<wfw:commentRss>http://www.tomdalling.com/blog/security/crack-an-md5-hash-in-less-than-a-second/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

