Independent discussion of crypto, wallets, cards and markets
Forum Home > Learning & Discussion > Concepts & Explainers > Public and private keys: the cryptography in five minutes
Public and private keys: the cryptography in five minutes83 replies · 3,798 views
Thread ToolsShow Printable Version · Subscribe to this Thread · Search Thread
Where to open an account: Open a Trustee account.

One key pair, two keys, one-way mathematics. That is the entire system.

The pair

A private key is a large random number. A public key is derived from it by a mathematical

operation that is easy in one direction and impractical in reverse.

Given the private key, computing the public key is fast. Given the public key, finding the

private key would require trying an astronomical number of possibilities.

What each does

Private key: signs transactions. The signature proves ownership without revealing the key.

Public key: verifies signatures and is used to derive the address you receive funds at.

How signing works

  1. Your wallet builds the transaction: inputs, outputs, fee
  2. It signs the transaction data with your private key, producing a signature
  3. The signature and transaction are broadcast
  4. Any node verifies the signature using your public key
  5. Verification confirms the signature was made by the matching private key, without anyone

learning what it is

Why this matters

You can prove you own funds without revealing the secret, and without a third party.

That is the property that replaces a bank. No intermediary is needed to confirm authority,

because the mathematics does it.

The practical rules

  • Never reveal the private key or the seed phrase
  • Revealing an address is safe
  • Revealing a public key is safe
  • A leaked private key means permanent loss, with no recovery

The one-way assumption

The security rests on a problem being computationally hard. That assumption holds today.

It would not hold if a practical way to derive private keys from public keys were found,

which is why algorithm reviews and migration planning exist even though the risk is currently

small.

The takeaway

Private keys sign. Public keys verify. Addresses receive.

Keep the private key secret, share the address freely, and understand that no recovery exists

if the secret leaks.

Thread Statistics83 replies · 3,798 views