NIST521-GS
A 521-bit elliptic-curve key exchange with a NIST-style curve and 104-byte private key
Overview
NIST521-GS is an elliptic-curve key exchange entry on a 521-bit curve in the NIST-style family. Its public key is 144 bytes, its private key 104 bytes and its shared secret 72 bytes. It relies on the elliptic-curve discrete logarithm problem and is not post-quantum.
NIST521-GS is an elliptic-curve key exchange built on a 521-bit curve of the kind standardised by NIST. The 521-bit size gives roughly 256 bits of classical security, and the 'GS' suffix is used in the archive for the parameterisation, which the archive does not define in detail.
NextSSL records a 144-byte public key, a 104-byte private key and a 72-byte shared secret. Its private key is shorter than the Ed521-GS entry's 130 bytes, which reflects a different encoding of the scalar, not a different security level. The archive tier is unverified.
Shor's algorithm would break this scheme on a large quantum computer, so it is a classical comparison point and a possible hybrid component rather than a post-quantum choice.
How it works
- Each party picks a private scalar and computes the matching public point on the curve.
- The parties exchange public points and multiply each other's point by their own scalar.
- The shared curve point is hashed into the 72-byte shared secret.
Security notes
Unverified in NextSSL. Not post-quantum, since Shor's algorithm breaks the discrete logarithm. Use ML-KEM for post-quantum key establishment.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Nist521gs nist521gs |
unverified | pk 144 · sk 104 · ss 72 · seed 0 | — | root |
Frequently asked questions
What is NIST521-GS?
NIST521-GS is a 521-bit elliptic-curve key exchange in the NIST-style family, carried by NextSSL as unverified.
Is NIST521-GS secure and post-quantum?
It is not post-quantum, because a large quantum computer running Shor's algorithm would break it. Use ML-KEM for post-quantum key establishment, optionally in a hybrid.
What key and secret sizes does NIST521-GS use?
It uses a 144-byte public key, a 104-byte private key and a 72-byte shared secret.
Which NIST521-GS variants does NextSSL include?
NextSSL registers 1 NIST521-GS variant: nist521gs.
Other key exchange
All 7Related
Deterministic hashing of byte strings to elliptic curve points with the SSWU map
Hash-to-curve (RFC 9380)Deterministic hashing of byte strings to elliptic curve points with the SSWU map
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
ECDH (including X25519 and X448)Elliptic-curve Diffie-Hellman key agreement on NIST curves, Curve25519 and Curve448
Ed521-GSA 521-bit elliptic-curve key exchange on a Goldilocks-style Edwards curve, not post-quantum