Versions in this module Expand all Collapse all v1 v1.37.0 Sep 7, 2026 Changes in this version + const LeafTag + const NodeTag + const SignatureLen + func Backend() string + func Recover(h Hash256, sig [SignatureLen]byte) ([]byte, bool) + func Same(got, want []Hash256) bool + type Hash160 = [20]byte + func PubkeyToAddress(key []byte) Hash160 + func Ripemd160(b []byte) Hash160 + type Hash256 = [32]byte + func CPUKeccak256(parts ...[]byte) Hash256 + func CPUKeccak256Batch(inputs [][]byte) []Hash256 + func EmptyRoot() Hash256 + func Keccak256(parts ...[]byte) Hash256 + func Keccak256Batch(inputs [][]byte) []Hash256 + func LeafHash(d Hash256) Hash256 + func MerkleRoot(leaves []Hash256) Hash256 + func NodeHash(l, r Hash256) Hash256 + func Sha256(b []byte) Hash256 + type Policy int + const Off + const On + const Verify