#numbers #arithmetic #modular #gcd #symbol #memory-safe #function

modular_arithmetic

memory safe modular arithmetic with some number theoretic functions: GCD, Jacobi symbol, even/odd powers

2 unstable releases

Uses old Rust 2015

0.2.0 Dec 11, 2018
0.1.0 Dec 10, 2018

#14 in #gcd


Used in prob_prime

MIT license

5KB
142 lines

modular_arithmetic

modular arithmetic and number theoretic functions such as GCD, Jacobi symbol. At this point, the library is NOT recommended for cryptographic use. Efforts to use constant time algorithms are ongoing.

No runtime deps