1 unstable release
Uses old Rust 2015
0.1.0 | Jan 12, 2022 |
---|
#6 in #bitcoin-cash
36KB
725 lines
BitcoinCash's Bech32 Rust
Fork of Bitcoin's bech32
crate to cover BitcoinCash's differences.
MSRV
The minimum supported Rust version with the standard library is 1.29.
With nostd, we use the alloc
dependency, so the MSRV is instead 1.36.
lib.rs
:
Encoding and decoding of the Bech32 format
Bech32 is an encoding scheme that is easy to use for humans and efficient to encode in QR codes.
A Bech32 string consists of a human-readable part (HRP), a separator (the character ':'
), and
a data part. A checksum at the end of the string provides error detection to prevent mistakes
when the string is written off or read out loud.
The original description in BIP-0173 has more details.