logoalt Hacker News

LVB • today at 7:09 PM • 3 replies • view on HN

Basic question from someone with only casual interaction with these things: is there a “longer” version of the ed25519 keys that I so often run into or use today? I keep reading about RSA 1k, 2k, 4k… does the same knob exist for the ed25519 type?


Replies

zarzavat • today at 8:00 PM

If you want the closest replacement then you are probably looking for Curve448[0] which is an internet standard curve based on similar modern design principles as Curve25519. The other option would be the NIST curve P-521 which is older but has an even larger security margin.

I don't see much point in adopting P-384 over the other two, unless it's the only possible option.

[0] https://en.wikipedia.org/wiki/Curve448

tptacek • today at 7:21 PM

No, there are different curves with higher security levels, but you can't literally take ed25519 and just generate a bigger key for it.

cowlevel • today at 7:12 PM

Not exactly, each curve has a set size so you have to use a different curve. P-384 and P-521 are NSA-designed curves so I'd avoid them. I've heard ed448 works?

➕ show 1 reply