lib-modulo 0.4.0

Fast modular arithmetics
Documentation

lib-modulo

This crate provides fast modular arithmetics with runtime-specified odd modulus.

Example

See examples directory.

Future Plan

These functions will be added:

  • sqrt()
  • nth_root()
  • log()

Further reading

Fast modular multiplication algorithm

Fast remainder algorithm