<?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>Random Web Tools &#187; sha256</title>
	<atom:link href="http://www.randomtools.net/tag/sha256/feed" rel="self" type="application/rss+xml" />
	<link>http://www.randomtools.net</link>
	<description>Advice and tools from a young web developer</description>
	<lastBuildDate>Fri, 13 Jan 2012 01:08:01 +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>Hash Generator &#8211; MD5, MD4, SHA-1, SHA-256, SHA-384, SHA-512, and more</title>
		<link>http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html</link>
		<comments>http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html#comments</comments>
		<pubDate>Fri, 16 May 2008 20:15:34 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Hash Codes]]></category>
		<category><![CDATA[haval]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[sha1]]></category>
		<category><![CDATA[sha256]]></category>
		<category><![CDATA[sha384]]></category>
		<category><![CDATA[sha512]]></category>
		<category><![CDATA[snefru]]></category>

		<guid isPermaLink="false">http://www.randomtools.net/?p=5</guid>
		<description><![CDATA[I&#8217;ve created a script that will hash a given string with 38 different algorithms. The algorithms are listed below. Demo: http://www.randomtools.net/scripts/hash.php HTML Form: 1 2 3 &#60;form method=&#34;post&#34; action=&#34;&#34;&#62; &#60;p&#62;Key to hash: &#60;input type=&#34;text&#34; name=&#34;key&#34; /&#62; &#60;button type=&#34;submit&#34;&#62;Submit&#60;/button&#62;&#60;/p&#62; &#60;/form&#62; PHP Source Code: 1 2 3 4 5 6 7 8 9 10 11 12 &#60;?php [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a script that will hash a given string with 38 different algorithms.  The algorithms are listed below.</p>
<p><strong>Demo:</strong> <a href="http://www.randomtools.net/scripts/hash.php" target="_blank">http://www.randomtools.net/scripts/hash.php</a></p>
<p><strong>HTML Form:</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;post&quot;</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>Key to hash: <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;key&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">button</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span>&gt;</span>Submit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">button</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></td></tr></table></div>

<p><strong>PHP Source Code:</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'key'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$key</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'key'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;hr /&gt;&lt;ul&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">hash_algos</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$algo</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;li&gt;&lt;strong&gt;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$algo</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">':&lt;/strong&gt; &lt;input type=&quot;text&quot; value=&quot;'</span><span style="color: #339933;">,</span> <span style="color: #990000;">hash</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$algo</span><span style="color: #339933;">,</span> <span style="color: #000088;">$key</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&quot; onclick=&quot;this.select();&quot; /&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span> 
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/ul&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p&gt;&lt;strong&gt;This will generate hash codes for the following algorithms:&lt;/strong&gt; '</span><span style="color: #339933;">,</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">', '</span><span style="color: #339933;">,</span> <span style="color: #990000;">hash_algos</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p><strong>Included hash types:</strong><br />
<table border="0" width="100%">
<tr>
<td width="33%" valign="top">
<ul>
<li>md2</li>
<li>md4</li>
<li>md5</li>
<li>sha1</li>
<li>sha256</li>
<li>sha384</li>
<li>sha512</li>
<li>ripemd128</li>
<li>ripemd160</li>
<li>ripemd256</li>
<li>ripemd320</li>
<li>whirlpool</li>
<li>tiger128,3</li>
</ul>
</td>
<td width="33%" valign="top">
<ul>
<li>tiger160,3</li>
<li>tiger192,3</li>
<li>tiger128,4</li>
<li>tiger160,4</li>
<li>tiger192,4</li>
<li>snefru</li>
<li>gost</li>
<li>adler32</li>
<li>crc32</li>
<li>crc32b</li>
<li>haval128,3</li>
<li>haval160,3</li>
<li>haval192,3</li>
</ul>
</td>
<td width="33%" valign="top">
<ul>
<li>haval224,3</li>
<li>haval256,3</li>
<li>haval128,4</li>
<li>haval160,4</li>
<li>haval192,4</li>
<li>haval224,4</li>
<li>haval256,4</li>
<li>haval128,5</li>
<li>haval160,5</li>
<li>haval192,5</li>
<li>haval224,5</li>
<li>haval256,5</li>
</ul>
</td>
</tr>
</table>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark this page</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html&amp;title=Hash Generator &#8211; MD5, MD4, SHA-1, SHA-256, SHA-384, SHA-512, and more' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.randomtools.net/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html&amp;title=Hash Generator &#8211; MD5, MD4, SHA-1, SHA-256, SHA-384, SHA-512, and more' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.randomtools.net/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.randomtools.net/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html&amp;title=Hash Generator &#8211; MD5, MD4, SHA-1, SHA-256, SHA-384, SHA-512, and more' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://www.randomtools.net/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://reddit.com/submit?url=http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html&amp;title=Hash Generator &#8211; MD5, MD4, SHA-1, SHA-256, SHA-384, SHA-512, and more' title='Reddit' onclick='target="_blank";' rel='nofollow'><img src='http://www.randomtools.net/wp-content/plugins/bookmarkify/reddit.png' style='width:16px; height:16px;' alt='[Reddit] ' /></a> <a href='http://slashdot.org/bookmark.pl?url=http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html&amp;title=Hash Generator &#8211; MD5, MD4, SHA-1, SHA-256, SHA-384, SHA-512, and more' title='Slashdot It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.randomtools.net/wp-content/plugins/bookmarkify/slashdot.png' style='width:16px; height:16px;' alt='[Slashdot] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html&amp;title=Hash Generator &#8211; MD5, MD4, SHA-1, SHA-256, SHA-384, SHA-512, and more' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.randomtools.net/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://www.randomtools.net/hash-generator-md5-md4-sha-1-sha-256-sha-384-sha-512-and-more-5.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

