Glossary
What Is a Private Key in Crypto? Plain-English Definition
Definition
Private key: A private key is a secret number that proves ownership of a crypto address and is used to sign transactions; whoever has it controls the funds.
On this page
A private key is a secret number that controls a crypto address. Wallets use it to create a digital signature for each transaction, and the network accepts the transaction only if the signature matches the address. Whoever knows the private key can spend the funds; there is no other check.
Keys, public keys and addresses
The relationship runs one way:
private key → public key → public address
- On Bitcoin and Ethereum the private key is a 256-bit number. The public key is calculated from it using elliptic-curve multiplication on the secp256k1 curve. Solana uses a different curve (Ed25519), but the principle is the same.
- The address is a shortened, encoded form of the public key. ethereum.org explains that an Ethereum address is the last 20 bytes of the Keccak-256 hash of the public key, written as 0x plus 40 hex characters.
- You can go forward easily. Going backwards, from address to private key, is computationally infeasible. That asymmetry is what makes it safe to share your address.
Where private keys come from in a modern wallet
You rarely see an individual private key. Most wallets generate one seed phrase and use the BIP-32 standard to derive a tree of private keys from it: one per account, address and network. Backing up the seed phrase backs up all of them. The exception is a key you imported on its own; those must be backed up separately.
Some newer products avoid a single private key altogether:
- Multisig wallets require signatures from several keys.
- MPC wallets split signing between parties so the full key never exists in one place. COCA describes itself as an MPC wallet with a linked card.
- Smart contract wallets let the account’s rules decide which keys or passkeys can authorise spending.
Why it matters when spending crypto
Every self-custody top-up or card payment is signed with a private key. With MetaMask Card the key in your MetaMask wallet signs the approval that lets the card pull funds; with Holyheld it signs the transfer that loads the card. If that key leaks, the attacker does not need your card: they can empty the wallet directly.
With custodial cards such as Crypto.com Visa Card, you never touch a private key. Your protection is the provider’s security plus your account login.
A note on signing messages
Not every signature moves funds directly. Wallets also sign plain messages, for example to log in to an app or prove you own an address. Those are usually harmless, but structured “typed data” signatures can authorise token transfers through permit-style functions, without any on-chain approval transaction appearing first. If a site asks for a signature during what looks like a login, read the prompt: a request mentioning “Permit”, a spender address or an amount is not a login.
How keys actually get stolen
| Attack | What happens | Defence |
|---|---|---|
| Seed phrase phishing | You type your words into a fake site or “support” chat | Never enter the phrase outside your wallet or device |
| Malware | Software reads keys or the phrase from your device | Use a hardware wallet for savings |
| Exported key | A key pasted into a chat, file or website | Avoid exporting keys at all |
| Weak randomness | Keys created by flawed tools or “brain wallets” from memorable phrases | Use established wallet software |
| Malicious signature | The key is safe, but you sign a harmful approval | Read prompts; see token approvals |
The last row matters most in practice: many “drained wallet” cases never touched the key. The owner signed something that granted spending rights.
Private key checklist
- Never export or share a private key unless you are moving it into a hardware wallet you control.
- Treat any website asking for a key or seed phrase as hostile.
- Keep long-term funds on keys that never touch an internet-connected device.
- For card spending, keep a separate hot wallet with a limited balance.
More defensive steps are in Self-Custody Wallet Security and clipboard malware address checks.
Frequently asked questions
Can someone guess my private key?
What is the difference between a private key and a public key?
Do I need to back up my private keys separately from my seed phrase?
Does a custodial exchange give me a private key?
Sources
- ethereum.org: Ethereum accounts and keys
- BIP-32 hierarchical deterministic wallets
- Bitcoin whitepaper
Facts were checked against these pages on the date shown above. Terms change; confirm on the official page before acting. General information, not financial, tax or legal advice. See our methodology.