Expand description

This crate provides efficient Modular arithmetic operations for various integer types, including primitive integers and num-bigint. The latter option is enabled optionally.

Structs

An integer represented in Montgomery form, it implements ModularInteger interface and it’s generally more efficient than the vanilla integer in modular operations.

Traits

Represents an number defined in a modulo ring ℤ/nℤ

This trait describes modular arithmetic operations

Operations of a integer represented in Montgomery form. This data type can be used in place of a normal integer with regard to modular arithmetics.