Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elliptic curve fails to achieve 128 bits of security #104

Open
tevador opened this issue Oct 24, 2022 · 0 comments
Open

Elliptic curve fails to achieve 128 bits of security #104

tevador opened this issue Oct 24, 2022 · 0 comments

Comments

@tevador
Copy link

tevador commented Oct 24, 2022

The cryptographic primitives used by "derohe" are not documented, but based on the source code, the implementation seems to be using a pairing-friendly Barreto-Naehrig-type elliptic curve with a field size of 256 bits.

These curves do not actually provide 128 bits of security. Their security is currently estimated to be just below 100 bits due to new attacks that were published in 2016 (see references below).

There is a comment in the code noting this fact, but I think it should be stated explicitly in the readme that the users of Dero should only expect ~100 bits of security for their funds.

References:
https://moderncrypto.org/mail-archive/curves/2016/000740.html
https://eprint.iacr.org/2017/334.pdf (chapter 5.2)
https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-pairing-friendly-curves-00#section-4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant