#base32 #encoding #bech32 #bitcoincash


Encodes and decodes the BitcoinCash's Bech32 format

1 unstable release

Uses old Rust 2015

0.1.0 Jan 12, 2022

#10 in #bech32

MIT license

725 lines

BitcoinCash's Bech32 Rust

Docs.rs badge Continuous Integration

Fork of Bitcoin's bech32 crate to cover BitcoinCash's differences.


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.


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.

No runtime deps


  • std
  • strict