Versions in this module Expand all Collapse all v2 v2.3.3 Oct 19, 2023 Changes in this version + func BuildMerkleTree(hashType string, hashes [][]byte) ([][]byte, error) + func Get(hashType crypto.HashType, data []byte) ([]byte, error) + func GetByStrType(hashType string, data []byte) ([]byte, error) + func GetHashAlgorithm(hashType crypto.HashType) (hash.Hash, error) + func GetMerklePath(hashType string, hash []byte, merkleTree [][]byte, paths *[][]byte, ...) (brother []byte, parent []byte) + func GetMerkleRoot(hashType string, hashes [][]byte) ([]byte, error) + type Hash struct + func (h *Hash) Get(data []byte) ([]byte, error)