Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + const AddrLen + const HashLen + func ByteArraysToHash256Array(byteArray ...[]byte) [32]byte + func Checksum(bytes []byte, length int) []byte + func ComputeHash160(buf []byte) []byte + func ComputeHash256(buf []byte) []byte + func ComputeHash256Ranges(buf []byte, ranges [][2]int) []byte + func PubkeyBytesToAddress(key []byte) []byte + type Hash160 = [ripemd160.Size]byte + func ComputeHash160Array(buf []byte) Hash160 + func ToHash160(bytes []byte) (Hash160, error) + type Hash256 = [HashLen]byte + func ComputeHash256Array(buf []byte) Hash256 + func ToHash256(bytes []byte) (Hash256, error)