Random password generator

  • Thread starter Thread starter Patrick Elliott
  • Start date Start date
P

Patrick Elliott

Hi everyone!

I am trying to create an app that will take a list of about 10-20 dictionary
words from a txt file (they are 1 per line in the file) and add 4 numbers to
the end of the word, and output this to a seperate file. The number of
lines outputed would be a variable set from a textbox in the app.

Thanks!

Patrick Elliott
 
Just use a StreamReader (ReadLine()) to read in the lines, create a Random
object to get random numbers, and then write out the result to a
StreamWriter.
 
Patrick said:
Hi everyone!

I am trying to create an app that will take a list of about 10-20 dictionary
words from a txt file (they are 1 per line in the file) and add 4 numbers to
the end of the word, and output this to a seperate file. The number of
lines outputed would be a variable set from a textbox in the app.

Thanks!

Patrick Elliott

Don't use dictionary words for passwords. Just generate a password from
randomly chosen characters and numbers (for example a range like a-z,
A-Z,0-9, !@#$%^&*)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top