Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / Visual Basic

Text Based Random Password Generator

Rate me:
Please Sign up or sign in to vote.
4.67/5 (11 votes)
18 Feb 2009CPOL2 min read 45.5K   2K   26  
An article that demonstrates how to use a list of words to generate a user-friendly random password.
<?xml version="1.0"?>
<doc>
<assembly>
<name>
RPGWindows
</name>
</assembly>
<members>
<member name="M:RPG_Windows.PasswordMaker.Generate(System.String,System.Boolean)">
	<summary>
 This methods Generates a random paasword Containing 2 words and a number.
 </summary>
	<param name="Filename">The name and location of the file that contains the words</param>
	<param name="Capatilise">Should the words be capatilised</param>
	<returns>Password containg 2 words and number</returns>
	<remarks></remarks>
</member><member name="M:RPG_Windows.PasswordMaker.Mixedcase(System.String)">
	<summary>
 Converts the supplied word to a lowercase word with the first Character Capitilised 
 </summary>
	<param name="Word">The word to convert</param>
	<returns>a Lowercase word with the first Character Capitilised </returns>
	<remarks></remarks>
</member><member name="M:RPG_Windows.PasswordMaker.LoadWordList(System.String)">
	<summary>
 Loads a list of words from a text file
 </summary>
	<param name="Filename">The name and location of the file that contains the words</param>
	<returns>List of words</returns>
	<remarks></remarks>
</member><member name="M:RPG_Windows.PasswordMaker.GetWord(System.Collections.Generic.List{System.String},System.Boolean)">
	<summary>
 Retrieve one random word from the Supplied listof words
 </summary>
	<param name="WordList">List of words</param>
	<returns>Random word</returns>
	<remarks></remarks>
</member><member name="M:RPG_Windows.PasswordMaker.OrderWords(System.Int32,System.String,System.String,System.Int32)">
	<summary>
 Adds 2 words and a number together based on the number suplied.
 </summary>
	<param name="PasswordPosition"> a Number that specifies in wht order the word must be put together.</param>
	<param name="Word1">The first word to be merged</param>
	<param name="Word2">The second word to be merged</param>
	<param name="rndNumber">The number to be perged</param>
	<returns>a Combinatoion of the 2 supplied words and number</returns>
	<remarks></remarks>
</member><member name="T:RPG_Windows.PasswordMaker">
	<summary>
 Generates a password using a list of words retrieved from a comme delimited list.
 </summary>
	<remarks>
 Coder : Sean Botha
 Last Edited : 07/02/2009
 </remarks>
</member><member name="P:RPG_Windows.My.Resources.Resources.ResourceManager">
	<summary>
  Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:RPG_Windows.My.Resources.Resources.Culture">
	<summary>
  Overrides the current thread's CurrentUICulture property for all
  resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:RPG_Windows.My.Resources.Resources">
	<summary>
  A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer na
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions