Public Key Cryptography

Public key cryptography, also called asymmetric cryptography, is a system that uses a pair of linked keys: a private key kept secret and a public key shared openly. Crypto networks use it to prove who authorised each transaction.

Each user has a key pair. The private key is kept secret, while the public key can be shared with anyone. A message signed with the private key can be checked by anyone holding the matching public key, and data encrypted to a public key can only be decrypted with its private key. The link runs one way: a public key can be derived from a private key, but a private key cannot practically be worked out from a public key.

This is what lets blockchains confirm ownership without a bank or central authority. A crypto account is made up of a public and private key pair, and wallet addresses are usually derived from the public key. When funds are sent, the wallet signs the transaction with the private key, and nodes check that signature against the public key before accepting it. Bitcoin and Ethereum use elliptic curve cryptography for this.

For example, when Alice sends ETH to Bob, she never reveals her private key. Her wallet produces a digital signature that proves she initiated the transaction and that it was not altered along the way. Bob only needs to share his address to receive the funds.

A common misconception is that blockchain transactions are encrypted. On Bitcoin and Ethereum they are signed, not hidden, and the details are publicly visible. The main risk lies in key handling rather than the mathematics. Whoever holds the private key controls the funds. If it is lost, access is gone, and if it is exposed, someone else can spend the funds.

Learn more

Related terms