1 unstable release
Uses old Rust 2015
0.8.1 | Mar 25, 2022 |
---|
#31 in #base32
32KB
666 lines
Blech32 Rust
Fork of Bitcoin's bech32
crate to cover Blech32'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 Blech32 format
Blech32 is an encoding scheme that is easy to use for humans and efficient to encode in QR codes.
A Blech32 string consists of a human-readable part (HRP), a separator (the character '1'
), 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.