Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to implement pairings on MNT curves?

I have used elliptic curves in sagemath. But I do not how to use pairings in sagemath.

I found a list of MNT curves at https://www.esat.kuleuven.be/cosic/publications/article-522.pdf

I also found some documentation on elliptic curves at https://doc.sagemath.org/html/en/reference/curves/sage/schemes/elliptic_curves/ell_point.html

It provides ate_pairing, tate_pairing, weil_pairing functions. I don't know which one to use. I couldn't understand it. I do not know math behind pairings well enough. Please provide a simple code for performing pairing operations on these curves.

click to hide/show revision 2
retagged

How to implement pairings on MNT curves?

I have used elliptic curves in sagemath. But I do not how to use pairings in sagemath.

I found a list of MNT curves at https://www.esat.kuleuven.be/cosic/publications/article-522.pdf

I also found some documentation on elliptic curves at https://doc.sagemath.org/html/en/reference/curves/sage/schemes/elliptic_curves/ell_point.html

It provides ate_pairing, tate_pairing, weil_pairing functions. I don't know which one to use. I couldn't understand it. I do not know math behind pairings well enough. Please provide a simple code for performing pairing operations on these curves.