← New search

Other meanings of Elliptic Curve Digital Signature Algorithm

Cryptography

Elliptic Curve Digital Signature Algorithm

The Elliptic Curve Digital Signature Algorithm (ECDSA) is a cryptographic algorithm that produces digital signatures using the mathematics of elliptic curves over finite fields, offering equivalent security to RSA with far smaller key sizes.

256
bits in a P-256 private key
1
~3072
bits of RSA key for comparable security
1
1985
year elliptic curve cryptography was proposed
2
2000
year ECDSA became an ANSI standard (X9.62)
3
1

Definition and operation

▶

ECDSA is a digital signature scheme built on elliptic curve cryptography, in which a signer holds a private key (a scalar integer) and publishes a public key (a point on an elliptic curve). To sign a message, the signer hashes it, selects a cryptographically secure random nonce k, and computes a signature pair (r, s) from scalar multiplications on the curve. A verifier, given the message, the signature, and the public key, performs a related computation that succeeds only if the signature is valid.

The scheme was proposed by Scott Vanstone and standardized by ANSI as X9.62 in 2000, later adopted by NIST as FIPS 186.3 Its security rests on the elliptic curve discrete logarithm problem, which is believed to be computationally infeasible for well-chosen curves.2

2

Security and implementation pitfalls

▶

The most consequential weakness in ECDSA deployments is the reuse or predictability of the per-signature nonce k. If the same nonce is used for two different messages, or if it is generated by a weak random number generator, the private key can be recovered directly from the signatures. This failure mode caused the compromise of PlayStation 3 signing keys and has been exploited against Bitcoin wallets.4

Deterministic nonce derivation, specified in RFC 6979, eliminates the need for a random generator at signing time and is now the recommended practice.5 Side-channel attacks such as timing analysis and differential power analysis also threaten implementations that do not use constant-time arithmetic.

3

Standardized curves and parameters

▶

NIST published a set of recommended curves in FIPS 186, including P-256, P-384, and P-521, which use prime fields and have become the default in TLS, code signing, and government systems.1 The secp256k1 curve, used by Bitcoin and Ethereum, is defined by the Standards for Efficient Cryptography Group (SECG) and features a Koblitz-style construction with a particularly efficient endomorphism.

Edwards-curve variants such as Ed25519, standardized separately, offer simpler and faster implementations and are increasingly preferred for new protocols, though they are technically a distinct algorithm from ECDSA.

4

Lesser-known aspects

▶

ECDSA signatures are not unique: because the verification equation admits two valid values of s (s and n−s, where n is the group order), a single message can carry two distinct valid signatures. This property, called signature malleability, has caused subtle bugs in Bitcoin transaction tracking, where the same transaction can appear under different IDs.6

The choice of curve has also been politically charged. Concerns that NIST curves might contain undisclosed backdoors led the SafeCurves project to publish criteria for curves with transparent, verifiable parameters, and prompted the IETF to standardize Curve25519-based alternatives. ECDSA also underpins less visible infrastructure: it is used in DNSSEC deployments, in the signing of firmware updates, and in the attestation mechanisms of Trusted Platform Modules.

≡

Glossary

▶
Elliptic curve discrete logarithm problem
The problem of finding the scalar k given points P and kP on an elliptic curve; the hardness assumption underlying ECDSA security.
Nonce (k)
A per-signature random or deterministic value that must never be reused; its compromise reveals the private key.
Signature malleability
The property that a valid signature can be transformed into a different but equally valid signature without knowledge of the private key.

ECDSA remains the most widely deployed elliptic-curve signature scheme, though EdDSA variants are gaining adoption in modern protocols.