Skip to content

v0.2.0

Compare
Choose a tag to compare
@liamsi liamsi released this 16 Feb 21:09
b22170d
Restructure code to expose the internal hasher: (#19)

* restructure code to expose the internal hasher:

 - expose NmtHasher API s.t. it can be used to construct and use NMT Hashsers externally (e.g. for IPLD multihashers)
 - Add two functions Sha256Namespace8FlaggedLeaf, Sha256Namespace8FlaggedInner whose signature matches regular hash functions that simplify the above even further

* fix bug/typo and minor doc improvements

* Some sanity checks as tests