Documentation
¶
Index ¶
- func DecodeAddress(address string, alphabet *base58.Alphabet, version uint8) ([]byte, error)
- func DecodeBase58(alphabet *base58.Alphabet, version uint8, input string) (decodedBytes []byte, err error)
- func EncodeBase58(alphabet *base58.Alphabet, version uint8, bytes []byte) string
- func Sha256Util(bytes []byte) []byte
- type Sha512
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeAddress ¶
DecodeAddress convert address to bytes
func DecodeBase58 ¶
func DecodeBase58(alphabet *base58.Alphabet, version uint8, input string) (decodedBytes []byte, err error)
DecodeBase58 decode string to bytes
func EncodeBase58 ¶
EncodeBase58 encode bytes to string
Types ¶
Click to show internal directories.
Click to hide internal directories.