An implementation of some mathematics of "Class group of Positive-definite Binary Quadratic Forms" in Python 3
Implementation of some applications especially in cryptography yet to be decided.
WARNING: Use the exact codes only for prototyping and educational purposes. For production usage, the codes must be properly modified and audited!
References:
- Sayles, Maxwell. Improved Arithmetic in the Ideal Class Group of Imaginary Quadratic Number Fields with an Application to Integer Factoring
- AMIS Technologies. https://github.com/getamis/alice
- Cohen, Henri. A Course in Computational Algebraic Number Theory (GTM 138)