? asked in Computers & InternetSecurity · 1 decade ago

How can you list every 32 character letter/number combination with a computer program or vbs script?

1 Answer

  • Anonymous
    1 decade ago
    Favorite Answer

    Producing such a program is trivial. The straightforward method would be to have 32 nested loops, where each loop cycles through your chosen character/letter/number list.

    The problem you're going to run into is that you're going to be dead (and so will I) before your program finishes. Lets assume that you're only interested in the capital letters A-Z and the digits 0-9. That's a total of 36 characters. If we only count the strings that are exactly 32 characters long, that will give you 36^32 combinations, about 10^50. That's a pretty large number, a 1 followed by 50 zeroes.

    Just to put that number into perspective. If you're computer could generate a billion 32-character strings a second, your program would take a little over 10^33 years to complete. That's a long time. Current estimates put the age of our universe between 10^10 and 10^11 years.

    It's pretty hard for people to get an intuitive feel for numbers this large. Just to give you some perspective -- Think about 10^9 seconds, a billion seconds. How long does it take for a billion seconds to pass? The answer: 31 years, 251 days, 7 hours, 46 minutes, and 40 seconds.

Still have questions? Get your answers by asking now.