Sep 16, 2018, 11:31 am
No info hash in the TPB torrent dumps provided have nullbytes in any of their positions.
From what I can see, torrents with at least one nullbyte in the hash are not exported into the dump for whatever reason.
Stats:
Info hashes are 20 bytes long. Since all byte values are equally likely to appear, there is a 1 in 256 chance that a byte is 0 and a 7.8% chance that at least one byte is 0 in an entire hash. The site lists 30 torrents on a page, giving me 30 hashes or a 234% chance that a hash in this list has a nullbyte. I used some JS on the list to verify this and there are usually 1 to 3 hashes with a nullbyte on every torrent list.
This also means that the dump misses 7.8% of all torrents.
From what I can see, torrents with at least one nullbyte in the hash are not exported into the dump for whatever reason.
Stats:
Info hashes are 20 bytes long. Since all byte values are equally likely to appear, there is a 1 in 256 chance that a byte is 0 and a 7.8% chance that at least one byte is 0 in an entire hash. The site lists 30 torrents on a page, giving me 30 hashes or a 234% chance that a hash in this list has a nullbyte. I used some JS on the list to verify this and there are usually 1 to 3 hashes with a nullbyte on every torrent list.
This also means that the dump misses 7.8% of all torrents.