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.
Asked
Active
Viewed 600 times
1 Answers
2
- Start with a hash of all
0
- Increment by 1.
- Go to step 2.
This will obviously run for quite awhile, but will generate all possible torrent info hashes.

Yann Ramin
- 32,895
- 3
- 59
- 82
-
how long should my string be? – Max Jul 05 '11 at 22:55
-
2@Max - as long necessary to create a torrent – KevinDTimm Jul 05 '11 at 23:07