Module bech32::primitives

source ·
Expand description

All the primitive types and functionality used in encoding and decoding. Provides the internal nuts and bolts that enable bech32 encoding/decoding.

Modules

  • Degree-2 BCH code checksum.
  • Decoding of bech32 encoded strings as specified by BIP-173 and BIP-350.
  • Bech32 address encoding.
  • GF32 - Galois Field over 32 elements.
  • Provides an Hrp type that represents the human-readable part of a bech32 encoded string.
  • Iterator Adaptors.
  • Segregated Witness functionality - useful for enforcing parts of [BIP-173] and [BIP-350].

Enums