What is public-key cryptography?

Public-key cryptography gives each person a private key that stays secret and a public key that anyone can see. A signature made with the private key can be checked with the public key, so no secret has to be shared in advance.

Also called asymmetric cryptography or public key cryptography.

How a key pair works

A key pair is two linked values, where the public value is easy to compute from the private one and very hard to reverse. Diffie and Hellman described the idea in 1976, and Rivest, Shamir and Adleman gave a working scheme for both encryption and signatures in 1977.

What a signature proves

A digital signature shows that the holder of a private key approved a message, and anyone can check that claim with the public key. Diffie and Hellman described this as the equivalent of a written signature, and Rivest, Shamir and Adleman noted that a signer cannot later deny one. On Bitcoin, the usual spend needs a signature like this one.

Why the public key becomes a liability

  • A public key is meant to be shared, so once it appears on the chain, anyone can read it.
  • On Bitcoin, an address is a hash of the public key, and the public key appears on the chain when its coins are spent.
  • Ordinary computers cannot feasibly recover a private key from its public key, which is why a public key can be shared without exposing the private key.
  • A large quantum computer running Shor’s algorithm could recover the private key from a visible public key, which makes an exposed public key a risk.

In Redacted

In bunker mode, your account is 256 random bits, kept as 25 words, and it is never derived from a wallet signature. A broken wallet key therefore does not open your private balance.

Bunker mode →

Related terms

Sources: New Directions in Cryptography, Whitfield Diffie and Martin Hellman, 1976 · A Method for Obtaining Digital Signatures and Public-Key Cryptosystems, Rivest, Shamir and Adleman, 1977 · Transaction, Bitcoin Wiki

Updated November 1, 2026. All terms