Firmas Digitales
Un mecanismo criptográfico que prueba que un mensaje fue creado por un titular específico de clave privada y no ha sido alterado — garantizando autenticación, integridad y no repudio.
Amenaza post-cuántica: ECDSA y RSA son vulnerables al algoritmo de Shor. NIST ha estandarizado ML-DSA (CRYSTALS-Dilithium) como sucesor post-cuántico.
graph LR
Center["Firmas Digitales"]:::main
Rel_digital_asset_security["digital-asset-security"]:::related -.-> Center
click Rel_digital_asset_security "/terms/digital-asset-security"
Rel_digital_forensics["digital-forensics"]:::related -.-> Center
click Rel_digital_forensics "/terms/digital-forensics"
Rel_digital_certificate_management["digital-certificate-management"]:::related -.-> Center
click Rel_digital_certificate_management "/terms/digital-certificate-management"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 Explícalo como si tuviera 5 años
Imagina que escribes una carta y la sellas con un sello de lacre único que solo tú posees. Quien recibe la carta puede verificar tu sello para confirmar: (1) realmente viene de ti, y (2) nadie rompió el sello y cambió la carta. Una firma digital funciona igual — tu clave privada es el sello único, y tu clave pública es el libro de referencia que todos usan para verificar que tu sello es genuino.
🤓 Expert Deep Dive
ECDSA y la vulnerabilidad catastrófica de reutilización de nonce: ECDSA requiere un nonce aleatorio k para cada firma. Si el mismo k se usa dos veces, la clave privada puede extraerse algebraicamente. Así se obtuvo la clave maestra de la PlayStation 3 en 2010. EdDSA (Ed25519, RFC 8032): el nonce se deriva de forma determinista (k = H(privKey || msg)), haciendo la reutilización imposible. Blockchain: dirección Ethereum = keccak256(pubKey)[12:].
❓ Preguntas frecuentes
What three properties does a digital signature guarantee?
Authentication (proves identity of the signer), Integrity (proves the message was not altered after signing), and Non-repudiation (the signer cannot later deny having signed).
Why is ECDSA dangerous if you reuse the nonce?
The ECDSA math allows anyone who observes two signatures with the same nonce to algebraically compute the private key. This exact flaw was used to extract the Sony PlayStation 3 master signing key.
Why does Ethereum use ECDSA secp256k1 instead of Ed25519?
Bitcoin chose secp256k1 when Ed25519 did not yet exist as a standard. Ethereum inherited Bitcoin's choice. Ed25519 is widely considered the superior modern algorithm and is used for Ethereum's consensus layer validator signing.