Jump to content

Password generation


bourny
 Share

Recommended Posts

I am looking to script generating a password but unlike the random password generators I am looking to use a combination of 2 random words from a dictionary. Obviously I will need a dictionary source / object but not sure how to go about this and cannot find any examples of how this can be done.

Any help appreciated

Link to comment
Share on other sites

lets see.

if the dictionary is in the shape of a 1 dimensional array then using a random number generator, generate 2 random numbers. then pick the dictionary array phrases at these indices and concatenate.

that's just the basic idea. put in a dictionary and i can be more specific.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...