Module hrp
Expand description
Provides an Hrp
type that represents the human-readable part of a bech32 encoded string.
The human-readable part, which is intended to convey the type of data, or anything else that is relevant to the reader. This part MUST contain 1 to 83 US-ASCII characters, with each character having a value in the range [33-126]. HRP validity may be further restricted by specific applications.
ref: BIP-173
Structs§
- Byte
Iter - Iterator over bytes (ASCII values) of the human-readable part.
- Char
Iter - Iterator over ASCII characters of the human-readable part.
- Hrp
- The human-readable part (human readable prefix before the ‘1’ separator).
- Lowercase
Byte Iter - Iterator over lowercase bytes (ASCII characters) of the human-readable part.
- Lowercase
Char Iter - Iterator over lowercase ASCII characters of the human-readable part.