4 ms·
I guess, the most widely used content-addressing system is BitTorrent. Wonder, if anyone had already did a research how many different torrents with the same `
by drdaeman 11y ago
I guess, the most widely used content-addressing system is BitTorrent.
Wonder, if anyone had already did a research how many different torrents with the same `info_hash` one can find out there.
- deleted 11y ago[deleted]
- versteegen 11y agoI had to look it up, and found info_hash is the SHA-1 of the 'info' section of the metainfo file, which lists the files and the SHA-1 hashes of each of their pieces. So you are asking how many torrents have exactly the same file data but different metadata. So yes, interesting question. If two torrents differ only in metadata, will any bittorrent clients actually allow the data be shared (without manual intervention like symlinking files)?
- akvadrako 11y agoThat would be an SHA-1 collision which has never been reported and would break lots of encryption in common use. You guys are worrying about the wrong thing. Any hash considered secure will have zero collisions, at least in your light cone for trillions of years. If current hashes are shown to have weaknesses they will be deprecated, probably before even a single collision takes place.
- versteegen 11y agoNo, read what I wrote again. Same files, different metadata (eg. tracker URL, comments, creation date)
- dchest 11y agoNone. Accidental collision resistance of SHA-1 is 2^80. SHA-1 is "cryptographically broken": it's estimated that you can produce collision with about 2^60 operations, however nobody has produced them yet.
- versteegen 11y agoThe question is about duplicate torrents (ie content addressing), not hash collisions.