Documentation ¶
Overview ¶
Package base58 handles encoding/decoding of Base58 (https://en.bitcoin.it/wiki/Base58Check_encoding). This package provides functions that work constant-time, as well as their variable-time counterparts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode writes into output.
If the resulting integer doesn't fit in output, the higher part will be truncated.
This function runs in constant time.
func Encode ¶
Encode encodes a byte slice into a base58 string with length resultLength.
This function runs in constant time.
func VartimeDecode ¶
VartimeDecode writes into output.
If the resulting integer doesn't fit in output, the higher part will be truncated.
This function does not have a constant-time guarantee, but it is faster than Decode.
func VartimeEncode ¶
VartimeEncode encodes a byte slice into a base58 string with length resultLength.
This function does not have a constant-time guarantee.
Types ¶
This section is empty.