Module crypto_bigint::modular
source · Expand description
Implements modular arithmetic for constant moduli.
Modules
- Implements
Residue
s, supporting modular arithmetic with a constant modulus. - Implements
DynResidue
s, 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
- Algorithm 14.32 in Handbook of Applied Cryptography https://cacr.uwaterloo.ca/hac/about/chap14.pdf