merkle-tree:Kotlin中的Merkle Tree和Merkle证明实现

时间:2021-05-02 01:34:44
【文件属性】:
文件名称:merkle-tree:Kotlin中的Merkle Tree和Merkle证明实现
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-02 01:34:44
javascript kotlin java hash sha256 Kotlin中的Merkle Tree和Merkle证明实现 MerkleTree是使用Kotlin kotlin-platform-common插件在Kotlin中实现的,该插件可将代码编译为JavaScript。 实现的方法: MerkleTree (input : List < ByteArray>, hash : ( ByteArray ) -> ByteArray ) root() : ByteArray hexRoot() : ByteArray containsLeaf(el : ByteArray ) : Boolean containsElement(el : ByteArray ) : Boolean proofForLeaf(el : ByteArray ) : List < ByteArray> hexProofForLeaf(el
【文件预览】:
merkle-tree-master
----LICENSE(1KB)
----src()
--------test()
--------main()
----.gitignore(344B)
----README.md(1KB)
----settings.gradle(34B)
----build.gradle(1KB)

网友评论