0

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 Answer 1

2
  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.

2
  • how long should my string be?
    – Max
    Jul 5, 2011 at 22:55
  • 2
    @Max - as long necessary to create a torrent
    – KevinDTimm
    Jul 5, 2011 at 23:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.