<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for "word list"</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Thu, 24 Jul 2008 14:18:48 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>Random Password Generator (based on word list)</title>
	<link>http://www.bytemycode.com/snippets/snippet/578/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/578/comments/</comments>
	<pubDate>Fri, 19 Jan 2007 14:37:55 +0000</pubDate>
	<dc:creator>inxilpro</dc:creator>
	<category>"word list", Generator, Password, PHP, Random</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/578/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Fri. Jan. 19th, 2007  2:37 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/578/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/inxilpro/" title="Helper">inxilpro</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%22word+list%22">"word list"</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Generator">Generator</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Password">Password</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/PHP">PHP</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Random">Random</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/578/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 14
			<p>This is a random password generator that produces understandable passwords based on word lists.  I've only included a 3 entry world list because you should chose a list based on your password requirements and your users.  If you need to generate passwords that are 14 characters in length, you will want a different list than if you're generating 8 character passwords.  And depending on your users, you may want to use certain lists.  The list I use is about 4000 words that are 5-7 characters long, all well-known words that have had potentially objectionable content removed.  For security reasons I don't want to include this list.<br /><br />A note on security: though this generates relatively strong passwords for the average user, they are particularly susceptible to brute-force attacks.  This is even more an issue if somehow your word list gets compromised.  I would not recommend using this function for anything where a highly secure password is needed.<br /><br />A note on choosing your list: You'll also see that I've built the system to avoid generating passwords with zeros and ones in them.  This is because zero and upper-case "o" can be confused as can one, lower-case "L" and upper-case "i."  When choosing my word list I was also sure to strip out all words that start with the letter "o" or "i" (to prevent the optional ucfirst() from creating 0/O and I/1 confusion) and words that contain the letter "L" (to prevent l/1 confusion).  I find that this greatly helps with preventing confusion, but again weakens the security of the passwords some.  It's your choice.</p>
		]]>
	</description>
</item>
	</channel>
</rss>