Documentation ¶
Overview ¶
Package base58 provides base58-check encoding. The alphabet is modifyiable for
Base58 Usage ¶
To decode a base58 string:
rawData := base58.Base58Decode(encodedData)
Similarly, to encode the same data:
encodedData := base58.Base58Encode(rawData)
Index ¶
Constants ¶
View Source
const BTCAlphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
alphabet is the modified base58 alphabet used by Bitcoin.
View Source
const FlickrAlphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
Variables ¶
This section is empty.
Functions ¶
func DecodeAlphabet ¶
DecodeAlphabet decodes a modified base58 string to a byte slice, using alphabet.
func EncodeAlphabet ¶
Encode encodes a byte slice to a modified base58 string, using alphabet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.