Module bech32::primitives::gf32
source · Expand description
GF32 - Galois Field over 32 elements.
Implements GF32 arithmetic, defined and encoded as in BIP-173 “bech32”.
A finite field is a finite set which is a field; this means that multiplication, addition, subtraction and division (excluding division by zero) are defined and satisfy the rules of arithmetic known as the field axioms.
Structs
- An element in GF(32), the finite field containing elements
[0,31]
inclusive.
Enums
- A galois field error when converting from a character.
- A galois field error when converting from an integer.