libsnark
libsnark copied to clipboard
Which BN curve is implemented?
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?
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