adamivora / pairing_friendly_curves_generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pairing-friendly Curves Generation

This repository tries to implement (in SageMath) the methods from the standard ISO/IEC 15946-5:2017 - Elliptic curve generation, Chapter 7: Constructing elliptic curves by complex multiplication.

The current state of the implementation is following:

Method Status
General construction 🚧
Miyaji-Nakabayashi-Takano (MNT) curve 🚧
Barreto-Naehrig (BN) curve βœ…
Freeman curve (F curve) ❌
Cocks-Pinch (CP) curve βœ…

βœ… = completed, 🚧 = work-in-progress, ❌ = not started

How to run

For example, you can run the Barreto-Naehrig method as follows:

sage barreto_naehrig.py -h

This command prints the help message which shows all the available parameters of the generation method.

About

License:MIT License


Languages

Language:Python 100.0%