Skip to the content
All articles
What Is a Private Key in Crypto and What Does It Sign?
CryptoSecurity

What Is a Private Key in Crypto and What Does It Sign?

By Ciro Simone Irmici · Nov 16, 2026 · 6 min read

Listen to this article · 4 minWhat Is a Private Key in Crypto and Why Keep It Secret?
0:00 / 3:41
What you need to know
  • A private key is a secret 256-bit number that signs your transactions; the network checks the signature, not your name or password.
  • Whoever holds the key or seed phrase can sign for your funds, and confirmed transactions cannot be reversed.
  • If you lose the key and every backup, nobody can sign for those funds again, so offline backups and tested restores matter.

A private key is a very large secret number, usually 256 bits long, and what it does is sign transactions. When you send funds, the key produces a digital signature that proves the transaction came from the owner of the address, and the network checks that signature, not your name, password or identity. This page covers how the key is generated, how it relates to your public key and address, what exactly gets signed, and what to do to keep it safe.

How is a private key generated?

A private key is a random number chosen from a range of roughly 1.16 × 1077 possibilities. That is close to 2256. Bitcoin and Ethereum both use an elliptic curve called secp256k1, and any number between 1 and the curve's order (slightly less than 2256) is a valid key.

Written in hexadecimal (digits 0 to 9 and letters a to f), a private key is 64 characters long. The only thing that makes it secure is randomness. A wallet must draw it from a strong random source, such as the dedicated random number generator inside a hardware wallet or the operating system's secure generator. A key you pick yourself, or one derived from a memorable phrase, is not random and can be guessed.

Most modern wallets don't show you the raw key at all. They generate random data called entropy, encode it as a seed phrase of 12 or 24 words, and derive all your private keys from that phrase. One phrase can produce thousands of keys, one per address. If you want the full picture of that step, I explain it in what a seed phrase is and how it controls your crypto.

How does a private key become a public key and an address?

The wallet runs the private key through elliptic curve multiplication, a one-way calculation. Going forward takes milliseconds. Going backward, from public key to private key, is not feasible with any known computer, because it would mean searching a space of about 1077 numbers.

The address is then made by hashing the public key. A hash is a function that turns any input into a fixed-length fingerprint and cannot be reversed. The chain runs one way: seed phrase → private keys → public keys → addresses. Nothing travels backward. The same path is walked through in what a wallet address is and where it comes from.

ItemTypical sizeCan you share it?
Private key32 bytes (64 hex characters)Never
Public key33 bytes compressed, 65 uncompressedYes, it's revealed when you spend
Bitcoin address20-byte hash (SHA-256, then RIPEMD-160) for common typesYes, to receive funds
Ethereum addressLast 20 bytes of a Keccak-256 hash, shown as 0x plus 40 hex charactersYes, to receive funds
Seed phrase12 or 24 wordsNever

What exactly does a private key sign?

It signs a transaction. Your wallet builds a message that says, in effect, "move this amount from these funds to this address, with this fee." It hashes that message and combines the hash with your private key using a signature algorithm (ECDSA, and on Bitcoin also Schnorr for newer address types). The result is a signature of roughly 64 to 72 bytes.

Every node on the network can then check three things using only public information: the signature matches the transaction, the signature matches the public key, and the public key matches the address holding the funds. If one byte of the transaction changes, the signature fails. The private key itself is never sent anywhere.

Here is the everyday analogy. Think of a signet ring pressed into wax. Anyone can look at the seal and confirm it came from that ring, but looking at the seal won't let them make a copy of the ring. Your signature is the wax seal. Your private key is the ring. Lose the ring to a thief, and the thief can seal any letter in your name.

Private keys can also sign plain messages, for example to prove you control an address, or to approve smart contract permissions on Ethereum. That last use is where many people get hurt: a signature that grants a contract permission to move your tokens is just as binding as a transfer.

Why does whoever hold the key control the funds?

Because there is no other test. A blockchain has no account manager, no password reset and no identity check. The rule is mechanical: a valid signature from the right key moves the funds. If an attacker copies your key or seed phrase, their signatures are indistinguishable from yours, and confirmed transactions cannot be reversed.

The reverse is also true. If you lose the key and every backup, no one can sign for those funds again. They stay on the chain, visible and unreachable. This is also why I would never paste a key into a website; the answer to that question is a flat no.

What do the official sources say?

The BIP39 specification for mnemonic seed phrases defines how 128 to 256 bits of entropy become 12 to 24 words drawn from a list of 2,048, and how those words are stretched into a seed using 2,048 rounds of a hashing function. Bitcoin's own guidance on securing your wallet stresses offline backups and encryption, because the backup is as powerful as the wallet. Ethereum's security and scam prevention page warns that no legitimate support team will ever ask for your seed phrase or private key. The FBI's Internet Crime Complaint Center collects reports of crypto fraud, and the CFTC's Learn and Protect resources describe how impersonation and fake-support scams aim to extract exactly these secrets.

Which mistakes put a private key at risk?

  1. Believing the exchange or wallet company can recover your key. With a self-custody wallet, no company holds a copy. If you lose the seed phrase and the device, recovery is not possible.
  2. Storing the key or seed phrase digitally. Photos, cloud notes, email drafts and password-protected spreadsheets can all be synced, leaked or read by malware. Write it on paper or stamp it into metal, and keep it offline.
  3. Signing what you don't understand. A pop-up asking you to "verify" or "connect" may be an approval that lets a contract drain your tokens. Read every signing request on your hardware wallet's screen, and reject anything you can't explain.

What should you do, in what order?

  1. Generate your wallet on a trusted device, ideally a hardware wallet, never with a key someone else gave you.
  2. Write the seed phrase down by hand, check each word against the device, and store it in at least 2 separate secure locations.
  3. Send a small test amount, then confirm you can restore the wallet from the phrase before storing larger sums.
  4. Verify every receiving address on the device screen, not only on your computer.
  5. If you plan for inheritance or hold large amounts, consult a qualified lawyer or financial professional about safe arrangements. If you suspect theft, report it to the IC3 promptly and treat anyone offering to "recover" funds for a fee as a likely second scam.

This article is general security information, not financial or investment advice. Never share your seed phrase with anyone, for any reason.

Email
Liked it? Get three like this every SaturdayThe 3 most useful reads from Crypto Radar Daily, every Saturday morning. Free, one click to leave.

Weekly email from Crypto Radar Daily with the best articles of the week, plus occasional gift ideas, offers and news from the author’s other projects. One click to unsubscribe, any time. Privacy Policy.

Know someone who needs this? Send it.
The Crypto Radar Daily podcast

Every article becomes an episode. Listen while you cook, walk or train.

SpotifyApple PodcastsYouTube

Read next

Made by the same author

Free things I built that go with this article.

Honest Toolkit: screenshot
Honest ToolkitFree calculators, printable checklists and short guides for money, home, work and fitness.74 calculators57 checklists52 guides
Storiascopio: screenshot
StoriascopioAll of history on one line, from the Big Bang to today: the story behind the news, told in a few minutes.300 eventsAudio and quiz5 languages

About meAbout this blogPrivacy PolicyAffiliate DisclosureContactGuide

More blogs by Ciro: Fitness Home Journal Healthy Eating Hub Tech Trends Daily NomadVibes PetCare Updates GreenPlanet News All blogs

Crypto Radar Daily is part of cirosimoneirmici.com. General information, not professional advice. Some links are affiliate links: if you buy, I may earn a small commission at no cost to you.