pymerkletools
pymerkletools copied to clipboard
Python tools for creating Merkle trees, generating Merkle proofs, and verification of Merkle proofs
The [PyPI project page for `pymerkletools`](https://pypi.org/project/pymerkletree/) currently only lists explicit supports for Python
The JS version has an [add_leaves method](https://github.com/Tierion/merkle-tools/blob/master/merkletools.js#L74), but this does not. We should port that as well for ease of use reasons
How to use SHA3-HMACE for pymerkle tools ? Could you provide some code snippets. Also How to access the siblings of the any intermediate nodes. ?
or can I build a non-binary balanced Merkle Tree (for example, of hight 2 with 3 sons on each node, namely a tree with 9 leaves)? 
Otherwise 'tests' package ends up in site-packages/tests, which is no good.
https://flawed.net.nz/2018/02/21/attacking-merkle-trees-with-a-second-preimage-attack/ https://en.wikipedia.org/wiki/Merkle_tree#Second_preimage_attack
https://github.com/evankozliner/merkle-tree/issues/1