Guide

Public and Private Keys Explained: The Heart of Crypto Security

公開鍵・秘密鍵のイメージ
Photo: jaydeep_ / CC0

Bottom line: one key to receive, one secret to spend

Every crypto wallet is built on a pair of keys. Get this pair straight and crypto security stops being mysterious.

Key points

- Public key / address: share it to receive funds — like an account number

- Private key: the secret that authorizes spending — never share it

- "Not your keys, not your coins": whoever holds the private key controls the funds

- In practice you back up a seed phrase, which regenerates your keys

Public and Private Keys Explained: The Heart of Crypto Security
Photo: FlippyFlink / CC0

A simple mental model

Imagine a transparent mailbox. Anyone can see what's inside and drop mail in through the slot — that's your public key (address). But only the person with the private key can open the box and take things out. Sharing your address is safe; sharing your private key hands over everything.

The math links the two: a private key can produce its public key, but you cannot work backward from the public key to the private one. That one-way relationship is what makes it safe to publish your address.

How a transaction uses them

  1. Someone sends crypto to your public address.
  2. To spend, your wallet signs the transaction with your private key — proving you authorized it, without revealing the key.
  3. The network verifies the signature against your public key and records it on the blockchain.

You rarely see the raw keys. A wallet manages them, and your backup is usually a seed phrase (12–24 words) that can regenerate the keys.

Why this is the whole game

Your private key / seed phrase = your money

Anyone who learns your private key or seed phrase can take your funds, instantly and irreversibly. Never type it into a website, never store it in cloud notes or a screenshot, and remember: anyone "from support" asking for it is a scam. See the scam checklist.

FAQ

Q. Is my address the same as my public key? A. Closely related — an address is usually a shortened, encoded form of the public key. You share either to receive funds safely.

Q. What if I lose my private key? A. The funds become unrecoverable. That's why the seed-phrase backup matters so much.

Not financial advice

This article is for education only and is not investment advice. Crypto carries risks including price volatility and hacking. Do your own research and only use money you can afford to lose.

FAQ

What is the difference between a public key and a private key?
The public key — your address — is what you share to receive funds, like an account number. The private key is the secret that authorizes spending, and it must never be shared.
Why is it safe to publish a crypto address?
Because the relationship is one-way: a private key can produce its public key, but you cannot work backward from the public key to the private one.
How does a wallet use the private key to send crypto?
Your wallet signs the transaction with the private key, proving you authorized it without revealing the key. The network verifies that signature against your public key and records it on the blockchain.
What is a seed phrase for?
It is the backup — usually 12 to 24 words — that can regenerate your keys. Anyone who learns it can take your funds instantly and irreversibly, so never type it into a website or store it in cloud notes or a screenshot.
WEB3DOJO 編集局
  • 日本国内で編集
  • 一次情報・出典主義
  • 変わりうる事実は検証日を明記

WEB3DOJO の編集局。一次情報にあたり、変わりうる事実には検証日を添えて掲載しています。

This article is informational only and is not financial, investment, or trading advice. Prices are reference snapshots and may be outdated. Always do your own research.