Gareth Brown

ASP.Net and C# only please...

Pronounceable Password Generator

Here's a class I put together for one of our current jobs. The code has come from various different sources so I probably can't take credit for most of it. The class contains two pronounceable password generators, the first one uses syllables/short words and the other uses consonants and vowels to make up the pronounceable words. Each generator can also contain numerical characters if required.

The passwords generated are nowhere near safe/secure and are best used for forgotten password links or account registation. Allowing the user to change the password on signing in.

Comments and suggestions please.

http://www.evolution-internet.com/CodeLibrary/PasswordGenerator/Pronounceable.txt

Comments

TrackBack said:

# April 2, 2004 3:44 AM

OmegaSupreme said:

Nice job, thanks.
# April 2, 2004 6:14 AM

gangstah said:

Very cool code. I'm a .net newbie (6 mos or so) so here's the dumb queston. Tried to throw the code into VS.NET, built and it said that syllableStore var couldn't be longer that 2046 characters. I chopped down the line a bit but now the passwords aren't "pronounceable". Thoughts? Thanks very much.
# April 2, 2004 10:06 AM

Gareth said:

Not sure the problem is, please find the download link above. Hopefully your problem is just a paste issue!
# April 2, 2004 4:21 PM

TrackBack said:

#
# May 2, 2004 7:53 PM

TrackBack said:

#
# May 2, 2004 7:53 PM

TrackBack said:

#
# May 2, 2004 7:53 PM

TrackBack said:

#
# May 2, 2004 7:54 PM

TrackBack said:

#
# May 2, 2004 7:54 PM

TrackBack said:

#
# May 2, 2004 7:54 PM

TrackBack said:

#
# May 2, 2004 7:54 PM

TrackBack said:

#
# May 2, 2004 7:55 PM

TrackBack said:

#
# May 2, 2004 7:55 PM

Jaap said:

This one really works great!
# July 15, 2004 9:14 AM

Jaap said:

Found One bug though..

numberStore = numbers[random.Next((int)numbers.Length)].ToString();

should be

numberStore += numbers[random.Next((int)numbers.Length)].ToString();

(watch the '+=' 2 times)
# July 15, 2004 9:49 AM

Gareth said:

Thanks, I will look at that later today.
# July 15, 2004 9:55 AM

TrackBack said:

# October 9, 2004 12:29 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)