<?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>Linux, MySQL, PhP, Perl... &#187; random generator</title>
	<atom:link href="http://linux.bgsnow.com/tag/random-generator/feed" rel="self" type="application/rss+xml" />
	<link>http://linux.bgsnow.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 16:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Generate random string in Linux</title>
		<link>http://linux.bgsnow.com/generate-random-string-in-linux.php</link>
		<comments>http://linux.bgsnow.com/generate-random-string-in-linux.php#comments</comments>
		<pubDate>Thu, 08 Oct 2009 08:01:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[makepasswd]]></category>
		<category><![CDATA[random generator]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=162</guid>
		<description><![CDATA[You probably know about /dev/random and /dev/urandom when it comes to generating a random string. Usually the problem is that these devices are not directly usable for ascii generators. This means that little conversion is necessary and here is one way to do it: $ dd if=/dev/urandom count=128 bs=1 2&#62;&#38;1 &#124; md5sum &#124; cut -b-10 [...]]]></description>
			<content:encoded><![CDATA[<p>You probably know about /dev/random and /dev/urandom when it comes to generating a random string. Usually the problem is that these <em>devices</em> are not directly usable for ascii generators. This means that little conversion is necessary and here is one way to do it:</p>
<p>$ dd if=/dev/urandom count=128 bs=1 2&gt;&amp;1 | md5sum | cut -b-10</p>
<p>This will generate a random string of 10 symbols. In order to change its length just change the last number from 10.</p>
<p>There are also some ready to use utilities such as <strong>makepasswd</strong> which are available on Ubuntu and other distributions. You can generate 10 characters with makepasswd as follows:</p>
<p>$ makepasswd --char=10</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/generate-random-string-in-linux.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
