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
curve25519 and curve448 support #117
Comments
They would be nice, we'd have to check the algorithm is suitable. It might be more effort than adding it to the CurveFactory, but worthwhile all the same. |
Great news. |
Interesting, I'll give that a look! I read over the RFC the other day, it seems to have lots of details not seen in PHPECC today. It wouldn't be as straightforward as I would have hoped! The extension is probably faster than we'll be able to pull off in pure PHP, but I'll have to check it later! |
Well... yes you are right, this library will never be as fast as an extension. |
I've implemented X25519 and Ed25519 in sodium_compat if you'd like to either reference that implementation (or just add sodium_compat as a dependency). Take note that it has yet to be audited and therefore should be viewed as experimental until we can get that done. |
We've tagged v1 so it may be worth adopting sodium_compat to fulfill your needs for Curve25519. |
Closing as the curves Ed25519/X25519 are available by other means (libCrypto or PHP 7.2). |
The RFC7748 introduces two new curves: curve25519 and curve448.
Do you plan to add a support for these two curves?
The text was updated successfully, but these errors were encountered: