pyecsca.ec.mod package

Provides several implementations of an element of ℤₙ.

The base class Mod dynamically dispatches to the implementation chosen by the runtime configuration of the library (see pyecsca.misc.cfg.Config). A Python integer based implementation is available under RawMod. A symbolic implementation based on sympy is available under SymbolicMod. If gmpy2 is installed, a GMP based implementation is available under GMPMod. If python-flint is installed, a flint based implementation is available under FlintMod.

Submodules