Aller au contenu
uencoder

ECDSA (Elliptic Curve Digital Signature Algorithme) Référence

Référence pour le ECDSA signature scheme, its parameters, verification, et sécurité considerations.

Signature Algorithm

ECDSA generates signatures over a message hash using an elliptic curve private key. The signature consists of two values (r, s) computed from a per-signature random nonce k. Verification checks that the recovered point has the correct x-coordinate modulo the curve order. The nonce must be unpredictable and never reused, or the private key can be recovered algebraically.

signature
Pair (r, s)
two curve scalars
nonce k
Must be random and unique
reuse leaks key
verification
Public equation check
no secret needed

Security Considerations

Nonce reuse or biased nonce generation allows private key recovery (as exploited against PlayStation 3 and some Bitcoin wallets). RFC 6979 specifies deterministic nonce generation from the key and message to eliminate randomness failures. Side-channel attacks on scalar multiplication can also leak the nonce. EdDSA is preferred in new designs for its deterministic, fault-resistant signing.

nonce reuse
Fatal: leaks private key
PS3 hack
RFC 6979
Deterministic nonce
HMAC-based
side-channel
Leaks nonce via timing
constant-time needed

Outils associés

参考链接