How to generate all possible Torrent info hashes?

629 views Asked by At

How do I generate all possible torrent info hashes? I am looking for an elegant way to do so. python code would be immensely appreciated, any other langues are cool too.

1

There are 1 answers

2
Yann Ramin On BEST ANSWER
  1. Start with a hash of all 0
  2. Increment by 1.
  3. Go to step 2.

This will obviously run for quite awhile, but will generate all possible torrent info hashes.