<?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>pixelchaos.net &#187; Uncategorized</title>
	<atom:link href="http://www.pixelchaos.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelchaos.net</link>
	<description>random bits for your terminal</description>
	<lastBuildDate>Tue, 18 Jan 2011 16:25:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>crypt.pl: crypt() Strings with Salt</title>
		<link>http://www.pixelchaos.net/2007/08/03/cryptpl-crypt-strings-with-salt/</link>
		<comments>http://www.pixelchaos.net/2007/08/03/cryptpl-crypt-strings-with-salt/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 14:16:33 +0000</pubDate>
		<dc:creator>jcl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pixelchaos.net/index.php/archives/18</guid>
		<description><![CDATA[Here is a short perl script to run a string through crypt() with a user defined two character salt. Enjoy! #!/usr/bin/perl # ($NAME=$0) =~ s#.*/##; # get basename from $0 $salt="00"; if (@ARGV==2) { $salt=pop(@ARGV); } else { print "salt to use: "; chomp($salt=&#60;&#62;); } if (@ARGV==1) { $string=pop(@ARGV); } else { print "Input-String to [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a short perl script to run a string through crypt() with a user defined two character salt. Enjoy!</p>
<p><span id="more-18"></span></p>
<p><code type="perl"><br />
#!/usr/bin/perl<br />
#</p>
<p>($NAME=$0) =~ s#.*/##;  # get basename from $0</p>
<p>$salt="00";</p>
<p>if (@ARGV==2) { $salt=pop(@ARGV); }<br />
else<br />
{<br />
print "salt to use: ";<br />
chomp($salt=&lt;&gt;);<br />
}</p>
<p>if (@ARGV==1) { $string=pop(@ARGV); }<br />
else<br />
{<br />
print "Input-String to crypt: ";<br />
chomp($string=&lt;&gt;);<br />
}</p>
<p>$out=crypt($string, $salt);<br />
print "The crypt of [$string] with salt [$salt] is [$out]\n";<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelchaos.net/2007/08/03/cryptpl-crypt-strings-with-salt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

