Loading data...

Public Key

Security

Cryptographic value used to verify signatures created by a private key.

A public key is the shareable part of an asymmetric cryptographic key pair. It allows other people or network nodes to verify a digital signature created with the matching private key. A public key cannot authorize transactions by itself, but it helps prove that the holder of the secret key approved a particular message.

Wallets generate a private key first and mathematically derive the public key from it. Secure cryptographic systems make that direction easy while making recovery of the private key from the public key impractical. Blockchain addresses are then derived from public keys using chain-specific hashing and encoding rules. For this reason, an address and a public key are related but not always the same value.

When a transaction is signed, nodes use the public key and signature to check that the message has not changed and that the correct private key authorized it. They do not learn the private key during verification. This mechanism enables ownership and account control without a central password database. Signatures can also authenticate software releases, governance messages, login challenges, and off-chain orders.

Public keys matter because they separate verification from authorization. A merchant can verify a payment signature without gaining the power to spend the customer's other funds. A developer can publish a software signing key so users can check downloads. If the associated private key is compromised, however, the public key will continue to validate attacker signatures until the system recognizes a replacement or revocation.

Sharing a public key is normally safe from a key-theft perspective, but it can affect privacy. Reusing an address lets observers connect balances and transactions. Some blockchains reveal a full public key only when funds are spent, while others expose it earlier. Future advances in cryptanalysis or quantum computing are considered in protocol planning, although practical risk depends on the algorithm and exposure.

Users should copy addresses through trusted interfaces, verify checksums where supported, and confirm important destinations on a hardware wallet screen. Developers must use well-reviewed cryptographic libraries and never invent key formats or signature validation. A public key is meant for verification, while the private key must remain secret. Confusing the two can lead either to unnecessary fear or irreversible disclosure.

Frequently asked questions

  • Yes. A public key is designed to be shared so others can verify signatures or derive the relevant identifier. Sharing it does not reveal the private key under secure cryptographic assumptions. However, public keys and addresses can link activity and reduce privacy. Verify which value a service requests because a recovery phrase or private key must never be shared.
  • The wallet applies chain-specific cryptographic and encoding steps to a public key, often including a hash, checksum, and network prefix. The exact process differs between Bitcoin, Ethereum, and other systems. An address is usually a shorter identifier, not the public key itself. Always use wallet software for conversion because changing one character can produce an invalid or unintended destination.
  • Using the same public key or address repeatedly lets observers connect payments, balances, counterparties, and activity across time. Reusing one identity across applications or networks can reveal more information than expected. Some signature schemes also require unique random values when signing. Wallets can generate fresh receiving addresses, but users must follow the chain's backup and accounting model correctly.