Versions in this module Expand all Collapse all v0 v0.0.2 May 13, 2020 v0.0.1 May 13, 2020 Changes in this version + func BTCAddrBytesFromPubKeyBytes(pubKeyBytes []byte) (addrBytes []byte, checksum []byte) + func BTCAddrFromPubKeyBytes(pubKeyBytes []byte) string + func CalcHash(data []byte, hasher hash.Hash) []byte + func CalcHash160(data []byte) []byte + func CalcHash256(data []byte) []byte + func CalcSha512(data []byte) []byte + func ComputeBTCAddress(pubKeyHex string, chainCodeHex string, path string, index int32) string + func ComputeBTCAddressForPrivKey(privKey string) string + func ComputeBTCTxId(rawTxHex string) string + func ComputeMastersFromSeed(seed string) (string, string, string) + func ComputePrivateKey(mprivHex string, chainHex string, path string, index int32) string + func ComputeWIF(privKey string, compress bool) string + func DerivePrivateKey(privKeyBytes []byte, chainCode []byte, index uint32, prime bool) ([]byte, []byte) + func DerivePrivateKeyForPath(privKeyBytes []byte, chainCode []byte, path string) []byte + func DerivePublicKey(pubKeyBytes []byte, chainCode []byte, index uint32) ([]byte, []byte) + func DerivePublicKeyForPath(pubKeyBytes []byte, chainCode []byte, path string) []byte + func HexDecode(str string) []byte + func HexEncode(b []byte) string + func I64(key []byte, data []byte) ([]byte, []byte) + func PubKeyBytesFromPrivKeyBytes(privKeyBytes []byte, compress bool) (pubKeyBytes []byte) + func ReverseBytes(buf []byte) []byte + func SignBTCMessage(privKey string, message string, compress bool) string + func WIFFromPrivKeyBytes(privKeyBytes []byte, compress bool) string