mirror of
https://github.com/LBRYFoundation/lbcutil.git
synced 2025-09-30 23:30:35 +00:00
16 lines
654 B
Markdown
16 lines
654 B
Markdown
bech32
|
|
==========
|
|
|
|
[](http://copyfree.org)
|
|
|
|
Package bech32 provides a Go implementation of the bech32 format specified in
|
|
[BIP 173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki).
|
|
|
|
Test vectors from BIP 173 are added to ensure compatibility with the BIP.
|
|
|
|
## Examples
|
|
|
|
* [Bech32 decode Example](http://godoc.org/github.com/lbryio/lbcutil/bech32#example-Bech32Decode)
|
|
Demonstrates how to decode a bech32 encoded string.
|
|
* [Bech32 encode Example](http://godoc.org/github.com/lbryio/lbcutil/bech32#example-BechEncode)
|
|
Demonstrates how to encode data into a bech32 string.
|