Module crypto_bigint::modular

source ·
Expand description

Implements modular arithmetic for constant moduli.

Modules

  • Implements Residues, supporting modular arithmetic with a constant modulus.
  • Implements DynResidues, supporting modular arithmetic with a modulus set at runtime.

Traits

  • A generalization for numbers kept in optimized representations (e.g. Montgomery) that can be converted back to the original form.

Functions