libsnark icon indicating copy to clipboard operation
libsnark copied to clipboard

Which BN curve is implemented?

Open vusirikala opened this issue 5 years ago • 1 comments

The readme file mentions that BN curve with 128 bit security is implemented. Few years back, BN256 curve is thought to have 128 bit security. After the tower number field sieve attack, now BN256 curve provides less than 110 bit security. Now, BN383 curve is said to have 128 bit security. May I know which pairing-based elliptic curve is implemented in this library?

vusirikala avatar Jun 06 '19 17:06 vusirikala

It's the BN256, and it is implemented in libff. Here you can find the parameters https://github.com/scipr-lab/libff/blob/master/libff/algebra/curves/bn128/bn128_init.cpp

riemann89 avatar Jun 10 '19 16:06 riemann89