Jump to content

Generating passcodes


Slip

Recommended Posts

Hi,

 

I want to create a text file that has all the possible combinations of an 8 character code using the alphabet. Creating the text file is not a problem it's the function to go through all the possible combinations that I can't fingure out. I am assuming it would start it like this;

 

AAAAAAAA

BAAAAAAA

CAAAAAAA

... etc. then

ABAAAAAA

ACAAAAAA

ADAAAAAA

 

And continue through until the end. The file will obviously be quite large as there are 208,827,064,576 combinations (26*26*26*26*26*26*26*26).

 

Any ideas where I would start? I'm thinking for() loops of somekind...

Link to comment
https://forums.phpfreaks.com/topic/121991-generating-passcodes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.