Criptografia Assimétrica
Criptografia de chave pública.
## RSA vs. ECC
An RSA key needs to be 3072 bits long to provide the same level of security as a 256-bit ECC key. In the context of blockchain, where every byte of on-chain data is expensive, ECC (Elliptic Curve Cryptography) is the clear winner. This is why Bitcoin and Ethereum use ECC for address generation and transaction validation.
graph LR
Center["Criptografia Assimétrica"]:::main
Pre_cryptography["cryptography"]:::pre --> Center
click Pre_cryptography "/terms/cryptography"
Center --> Child_digital_signatures["digital-signatures"]:::child
click Child_digital_signatures "/terms/digital-signatures"
Rel_encryption["encryption"]:::related -.-> Center
click Rel_encryption "/terms/encryption"
Rel_private_key["private-key"]:::related -.-> Center
click Rel_private_key "/terms/private-key"
Rel_public_key["public-key"]:::related -.-> Center
click Rel_public_key "/terms/public-key"
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;
🧒 Explique como se eu tivesse 5 anos
Caixa de correio.
🤓 Expert Deep Dive
## RSA vs. ECC
An RSA key needs to be 3072 bits long to provide the same level of security as a 256-bit ECC key. In the context of blockchain, where every byte of on-chain data is expensive, ECC (Elliptic Curve Cryptography) is the clear winner. This is why Bitcoin and Ethereum use ECC for address generation and transaction validation.