Ta strona służy wyłącznie do celów informacyjnych. Niektóre usługi i funkcje mogą nie być dostępne w jurysdykcji użytkownika.

What is a public key?

A public key is the shareable part of an asymmetric cryptographic key pair. In the digital-signature systems used by many blockchains, a private key produces a signature and the corresponding public key lets other parties check that signature without learning the private key.

That definition is deliberately narrower than saying a public key “proves who someone is.” A successful signature check shows that the signature is valid for particular data under a particular key. Connecting that key to a person, organization or intended transaction requires information outside the signature algorithm. NIST’s Digital Signature Standard similarly separates signature generation with a private key from verification with the public key. NIST FIPS 186-5

From a private value to a verifiable key

The exact mathematics depends on the signature scheme. In an elliptic-curve system, a private key is a number within a permitted range and the public key is a curve point calculated from it and agreed domain parameters. SEC 1 describes this relationship as public key Q = dG, where d is the private key and G is the curve’s base point. It also specifies public-key validation because an arbitrary byte string is not automatically a valid curve point. SEC 1: Elliptic Curve Cryptography

This calculation is designed to be practical in the private-to-public direction while recovering the private value from a properly generated public key is computationally infeasible under the scheme’s assumptions. The assurance still depends on correct key generation, approved parameters, implementation and key handling; “public-key cryptography” is not by itself a guarantee that every wallet or device is implemented correctly.

Public keys can also have different encodings without representing different signing authority. For example, Bitcoin has compressed and uncompressed encodings for elliptic-curve public keys. The serialized bytes differ, and an address derived from those bytes may differ, even though both encodings describe the same curve point. Bitcoin Developer Guide: wallets

What signature verification establishes

A simplified signing flow has four parts:

  1. Wallet software prepares the data that the network expects to be authorized.
  2. A signing algorithm combines that data with the private key to produce a signature.
  3. A verifier applies the matching verification algorithm to the signed data, signature and public key.
  4. The network separately checks its other rules, such as transaction format, spend conditions, balances or nonces.

Changing the signed data normally causes the original signature to fail verification. But a valid signature alone does not say whether the action was beneficial, whether the interface showed the full instruction, or whether the key owner intended the real-world consequence. It is one input to network authorization, not a universal statement of identity or trust.

Public key, blockchain address and account

These terms describe different layers:

  • Public key: cryptographic material used in verification or other public-key operations.
  • Blockchain address: a network-specific identifier, often derived through hashing or encoding rules, or created from other deployment data.
  • Account: a network-level record or authorization arrangement associated with an address.

For an Ethereum externally owned account (EOA), the address is the final 20 bytes of the Keccak-256 hash of the public key. Ethereum contract addresses are created under different rules and contract accounts do not have their own private keys. Ethereum also uses BLS keys for validators, which are distinct from the EOA key pair. These examples show why an Ethereum address cannot always be treated as a public key or even as evidence of a one-to-one key pair. Ethereum accounts

Bitcoin illustrates another variation: common address types encode information about a spending script or a hash commitment rather than presenting a raw public key as the address. The public key may only become visible when the relevant output is spent. Address construction and key exposure therefore depend on the network and output type, not on one rule shared by every blockchain.

Ordinary public keys and extended public keys

An ordinary public key represents one member of a key pair. A BIP-32 extended public key combines a public key with a chain code and derivation metadata. It can derive descendant public keys along non-hardened branches without the corresponding private keys. That feature can support receive-only or monitoring systems, but it also reveals a group of related public keys to whoever receives the extended public key. BIP-32: Hierarchical Deterministic Wallets

An extended public key cannot derive hardened children, and it should not be described as harmless merely because it cannot sign. BIP-32 also documents a stronger compromise condition: exposing an extended public key together with a corresponding non-hardened descendant private key can expose ancestor and sibling private keys within that branch. This is a property of that derivation scheme, not of every ordinary public key.

Where public keys do and do not provide privacy

Making an ordinary public key available does not reveal the private key under the assumed hardness of the cryptographic scheme. It may still have privacy consequences. Reusing a key or address, publishing an extended public key, or linking addresses through transaction activity can make otherwise separate activity easier to associate.

Public keys also do not normally hide blockchain transaction contents. Public-key cryptography includes encryption and key-agreement schemes, but a signing key’s role in transaction authorization is signature verification. Whether a network encrypts any data is a separate protocol question.

FAQ

Can two addresses use the same public key?

Possibly, depending on the network and address format. Different encodings or scripts can produce different address representations related to the same key. Applications should follow the rules of the specific network instead of assuming a universal one-address-per-key mapping.

Is a public key enough to spend crypto assets?

Normally no. A public key enables verification; authorizing a key-controlled spend requires a valid signature or satisfaction of the network’s applicable spending rules. Contract-controlled accounts and multisignature arrangements can apply rules that do not reduce to one public key.

For a longer comparison, read Private keys vs public keys.

Explore private keys, blockchain addresses, seed phrases and crypto wallets, or return to the Crypto Glossary.

Sources

Wyłączenie odpowiedzialności
Niniejsza treść ma charakter wyłącznie informacyjny i może obejmować produkty niedostępne w Twoim regionie. Nie ma na celu zapewnienia (i) porady inwestycyjnej lub rekomendacji inwestycyjnej; (ii) oferty lub zachęty do kupna, sprzedaży lub posiadania kryptowalut/aktywów cyfrowych lub (iii) doradztwa finansowego, księgowego, prawnego lub podatkowego. Posiadanie aktywów cyfrowych, w tym stablecoinów, wiąże się z wysokim stopniem ryzyka i może podlegać znacznym wahaniom. Musisz dokładnie rozważyć, czy handel lub posiadanie kryptowalut/aktywów cyfrowych jest dla Ciebie odpowiednie w świetle Twojej sytuacji finansowej. W przypadku pytań dotyczących konkretnej sytuacji skonsultuj się ze swoim doradcą prawnym, podatkowym lub specjalistą ds. inwestycji. Informacje (w tym dane rynkowe i informacje statystyczne, jeśli występują) zawarte w tym poście służą wyłącznie ogólnym celom informacyjnym. Podczas przygotowywania tych danych i wykresów dołożono należytej staranności, jednak nie ponosimy odpowiedzialności za żadne błędy lub pominięcia w niniejszym dokumencie.

© 2025 OKX. Niniejszy artykuł może być powielany lub rozpowszechniany w całości, a także można wykorzystywać jego fragmenty liczące do 100 słów, pod warunkiem że takie wykorzystanie ma charakter niekomercyjny. Każde powielanie lub rozpowszechnianie całego artykułu musi również zawierać wyraźne stwierdzenie: „Ten artykuł jest © 2025 OKX i jest używany za zgodą”. Dozwolone fragmenty muszą odnosić się do nazwy artykułu i zawierać przypis, na przykład „Nazwa artykułu, [nazwisko autora, jeśli dotyczy], © 2025 OKX”. Niektóre treści mogą być generowane lub wspierane przez narzędzia sztucznej inteligencji (AI). Nie są dozwolone żadne prace pochodne ani inne sposoby wykorzystania tego artykułu.

Powiązane artykuły

Wyświetl więcej
private-key

What is a private key?

A private key is secret cryptographic material used by a signing algorithm to produce digital signatures. On a blockchain, a valid signature can satisfy a key-based authorization condition without sen
28 paź 2026
crypto-glossary-cover-v5.contentful

Crypto Glossary A–Z

Explore key crypto, blockchain, and trading terms through concise definitions, organized alphabetically for quick reference. [A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#
28 paź 2026
USDC-DAI-USDT Price: Everything You Need to Know About Stablecoins

What is a stablecoin?

A stablecoin is a crypto asset designed to track a reference value, commonly a fiat currency such as the US dollar. The word “stable” describes a target and a set of mechanisms, not a guarantee. A tok
28 paź 2026
seed-phrase

What is a seed phrase?

A seed phrase—often called a recovery phrase or mnemonic phrase—is an ordered sequence of words that some wallets use as an input for reconstructing wallet root material. That root material can then b
28 paź 2026
What is a Web3 wallet? Learn banner

What is a non-custodial wallet?

A non-custodial wallet is an arrangement in which a service provider does not hold the user’s signing keys or equivalent unilateral authority to authorize account activity on the user’s behalf. The us
28 paź 2026
endereço de carteira blockhain

What is a hot wallet?

A hot wallet is a wallet arrangement in which transaction authorization is available through an internet-connected system. It can prepare and authorize activity without first moving the signing setup
28 paź 2026
Wyświetl więcej