Documentation ¶
Overview ¶
Package bech32 includes a Bech32 string which is at most 90 characters long and consists of: The human-readable part, which is intended to convey the type of data, or anything else that is relevant to the reader. This part MUST contain 1 to 83 US-ASCII characters, with each character having a value in the range [33-126]. HRP validity may be further restricted by specific applications.
The separator, which is always "1". In case "1" is allowed inside the human-readable part, the last one in the string is the separator.
The data part, which is at least 6 characters long and only consists of alphanumeric characters excluding "1", "b", "i", and "o".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBits ¶
ConvertBits converts a byte slice where each byte is encoding fromBits bits, to a byte slice where each byte is encoding toBits bits.
Types ¶
This section is empty.