Discover Packages
github.com/metchain/metblockd
utils
bech32
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 20, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
bech32
Package bech32 provides a Go implementation of the bech32 format.
Examples
Demonstrates how to decode a bech32 encoded string.
Demonstrates how to encode data into a bech32 string.
Expand ▾
Collapse ▴
Documentation
¶
Package bech32 provides a Go implementation of the bech32 format.
Bech32 strings consist of a prefix, followed by the separator :,
then a checksummed data part encoded using the 32 characters
"qpzry9x8gf2tvdw0s3jn54khce6mua7l".
Decode decodes a string that was encoded with Encode.
Encode prepends the version byte, converts to uint5, and encodes to Bech32.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.