Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add algorithm: bittorrent v2 merkle root hash #193

Open
milahu opened this issue Sep 22, 2023 · 0 comments
Open

add algorithm: bittorrent v2 merkle root hash #193

milahu opened this issue Sep 22, 2023 · 0 comments

Comments

@milahu
Copy link

milahu commented Sep 22, 2023

ed2k hash is already supported, so adding this seems legit

implementations of the bittorrent v2 merkle root hash algorithm:

this hash is used to share identical files between multiple torrents

effectively, it splits the file into 16*1024 byte blocks, adds zero blocks to get a power-of-two number of blocks, and builds a binary tree of hashes over these blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant