[][src]Module elements::blech32

Blech32

A variation of the bech32 encoding for blinded Elements addresses.

Functions

decode

Decode a bech32 string into the raw HRP and the data bytes. The HRP is returned as it was found in the original string, so it can be either lower or upper case.

encode_to_fmt

Encode a bech32 payload to an fmt::Formatter.