remy33 Posted December 22, 2015 Report Posted December 22, 2015 Hi,Lately I'm studing the torrents protocols, for writing a simple sample client, and I run into two question which I couln't find answer sadly. I'm wonder, before years we had the slowest turtle called 'emule', it was pretty crappy though, But it has a great feature, it has file search via the Kademlia.If I understood currectly, torrent replacement for Kademlia is DHT which actually implement it.So why we can't we share a directory and search in it like oldschool Emule did?Why it's only limited to '.torrent' files only? As well I'm not understand what DHT does in case of Hash collision,I mean it's probably uncommon (2^64) but still, its happens, then what? Even if you don't know the answer, could you please direct me to a place I could read more info about it? Thanks in advance! Quote
microft Posted April 7, 2020 Report Posted April 7, 2020 Google search is helpful. The torrent hashes are 160 bits and are an sha1 sum of information in the torrent file but I'm uncertain of details. Accidental collisions are so unlikely the issue hasn't come up. It'd take a lot of computation to find a collision so it's not worth doing deliberately. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.