Cryptographic Key
Last Updated: November 19, 2026
A cryptographic key is a string of data, usually a large random number, that a cryptographic algorithm uses to lock, unlock or sign information. Keys are used in encryption and decryption, and on blockchain networks they decide who can move funds.
Types of Cryptographic Keys
- Symmetric key: one secret key both encrypts and decrypts data. AES, the most common example, uses keys of 128, 192 or 256 bits.
- Public key: the shareable half of a key pair. Others use it to check your signatures or, in some systems, to encrypt data only you can read.
- Private key: kept secret and used to decrypt data or sign transactions. Your private key is what lets you move funds.
How Wallet Keys Are Created
Most wallets start from a recovery phrase defined in BIP-39: 12 to 24 words taken from a list of 2,048. The wallet runs the phrase through PBKDF2 with HMAC-SHA512 and 2,048 rounds to make a 512-bit seed. From that seed it derives every private key, each one a 256-bit number.
Each public key is then computed from its private key on the secp256k1 curve, which Bitcoin and Ethereum both use. This step only works one way. Most addresses are a short hash of the public key, so sharing one does not reveal the key. Taproot addresses are an exception, since they contain a public key directly.
Key Lengths and Security Strength
| Key type | Typical length | Security strength (NIST) |
|---|---|---|
| AES symmetric key | 128 or 256 bits | 128 or 256 bits |
| Elliptic curve key, such as secp256k1 | 256 bits | About 128 bits |
| RSA key | 2,048 bits | 112 bits |
| RSA key | 3,072 bits | 128 bits |
A 256-bit curve key matches a 3,072-bit RSA key at about 128 bits of security, according to NIST’s key management guide, SP 800-57. Smaller keys and signatures are one reason blockchains chose curves.
Role of Cryptographic Keys in Blockchain
In blockchain, cryptographic keys are essential for ensuring the security of user wallets, transactions, and contracts. When you send cryptocurrency, your private key signs the transaction, proving ownership and authenticity. Public blockchains do not encrypt transactions. They rely on these signatures, so anyone can check a payment.
Example: Exposed Public Keys in 2026
Project Eleven estimated on April 24, 2026 that about 6.9 million BTC sit in addresses whose public keys are already visible on-chain. A quantum computer able to derive private keys from public keys would target those coins first, which is why Bitcoin developers are drafting new address types.
Why Cryptographic Keys Matter
Without cryptographic keys, blockchain networks and digital currencies would not be secure. The flip side is simple: whoever holds a private key controls the funds. A lost key cannot be reset, and a stolen key gives full access.
How Keys Are Stored
A key is only as safe as the place it is kept. Software wallets store keys on a phone or computer, usually encrypted with a password or a secure chip. A hardware wallet keeps keys on a separate device that signs transactions without exposing the key to the computer. Exchanges and custodians hold keys for their users.
Some setups split control on purpose. A multisignature wallet needs signatures from several keys, such as two of three, to move funds. Multi-party computation (MPC) wallets split one key into shares that are never joined in one place.
Quantum-Resistant Keys
NIST published its first post-quantum standards in August 2024. FIPS 203 (ML-KEM) covers key exchange, while FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) cover signatures. These schemes are built to resist attacks by future quantum computers.
The trade-off is size. An ML-DSA-44 public key is 1,312 bytes, compared with 33 bytes for a compressed secp256k1 public key. Larger keys and signatures would take more block space, which is one reason blockchain upgrades to these schemes are slow.
Frequently Asked Questions
What is the difference between a public key and a private key?
A private key is a secret number that signs transactions and proves you control a wallet. The public key is computed from it and can be shared, because it only lets others check your signatures. The math runs one way: no computer available today can turn a public key back into its private key.
How long is a crypto private key?
Bitcoin and Ethereum private keys are 256-bit numbers, usually shown as 64 hexadecimal characters. NIST rates a 256-bit elliptic curve key at about 128 bits of security, the same as a 3,072-bit RSA key. Most users never see the raw key, because wallets derive it from a recovery phrase of 12 to 24 words.
Can a lost private key be recovered?
Only from a backup. If the recovery phrase or a copy of the key exists, a wallet can rebuild the key from it. Without a backup, there is no reset, because the network has no account manager, and guessing a 256-bit key is not feasible. Coins controlled by a lost key stay where they are, but nobody can move them.
Data sources: BIP-39 (Bitcoin BIPs repository); NIST SP 800-57 Part 1 Rev. 5 (May 2020), comparable security strengths; NIST FIPS 203, 204 and 205 (August 2024); Project Eleven (April 24, 2026).