Denne siden er kun til informasjonsformål. Enkelte tjenester og funksjoner er kanskje ikke tilgjengelige i din jurisdiksjon.

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 sending the private key to the network.

A private key is not the crypto asset itself and it is not stored “inside” a coin. Assets or balances are represented by the network’s ledger and rules. The key supplies evidence needed to authorize an action under those rules. This distinction matters because accounts controlled by smart-contract logic, multiple keys or other recovery mechanisms do not always reduce to one address and one private key.

How a private key becomes signing authority

In an elliptic-curve system, key generation begins by selecting a private value in the valid range using an appropriate random-generation process, then deriving the corresponding public point. SEC 1 describes both elliptic-curve key-pair generation and public-key validation. Weak randomness, unsafe reuse of a per-signature secret where the scheme requires a fresh value, or implementation errors can undermine the mathematical design. SEC 1: Elliptic Curve Cryptography

NIST FIPS 186-5 describes digital signatures as three related processes: generating key pairs, generating signatures and verifying signatures. The private key is used in signature generation; the public key is used in verification. A verifier should not need the private key, and a legitimate service does not need it merely to verify that a signature is valid. NIST FIPS 186-5

For a typical key-controlled blockchain transaction, wallet software:

  1. constructs the data that the network expects to be signed;
  2. uses the private key in the selected signature algorithm;
  3. returns a signature while keeping the key in its storage or signing environment; and
  4. broadcasts the signed transaction, which network participants validate under protocol rules.

The precise data being signed is network- and transaction-type-specific. A signature valid for one serialization, chain or authorization domain should not be assumed valid everywhere.

Private key, public key, address and account

  • Private key: secret input used to generate signatures.
  • Public key: corresponding material used to verify signatures.
  • Address: a network-specific identifier that may be derived from a public key, script or deployment rule.
  • Account: the network state or authorization arrangement associated with an address.

Ethereum externally owned accounts (EOAs) are controlled through private keys, and their addresses are derived from public keys. Contract accounts have addresses but no private keys of their own; code controls their behavior. Ethereum validator keys also serve a different protocol role from EOA keys. These distinctions prevent “an address is a private key’s account” from becoming a universal rule. Ethereum accounts

Bitcoin uses output-specific spending conditions. Depending on the output type, a spend may require a signature, one of several signatures, or satisfaction of a script. The private key does not move an abstract balance on its own; it helps produce evidence accepted by a particular spending condition.

One wallet can manage many private keys

Wallet software is an interface and key-management system, not a single key. Older “loose-key” wallets generated unrelated keys that each needed to be backed up. Hierarchical deterministic (HD) wallets can derive a tree of keys from root material, which reduces the need to back up each derived key separately. Bitcoin Developer Guide: wallets

In BIP-32, a seed produces a master extended private key, which combines a private key and chain code. Child extended keys are then derived along paths. Hardened and non-hardened derivation have different properties: an extended public key can derive non-hardened public children, but not hardened children. An extended private key can expose an entire branch, so it is not interchangeable with one leaf private key. BIP-32: Hierarchical Deterministic Wallets

Private key, seed phrase, passphrase and wallet password

These secrets operate at different layers:

  • A private key signs for one key pair.
  • A seed phrase used by a BIP-39-compatible wallet is an ordered word sequence processed into a seed; that seed may later generate many keys.
  • A BIP-39 passphrase is an additional input to seed generation. Every passphrase produces a seed, but only the intended phrase-and-passphrase combination restores the intended key tree.
  • A wallet password or PIN normally controls local access to an application, device or encrypted key file. It is not automatically a blockchain signing key or BIP-39 passphrase.

Changing an app password may re-encrypt local storage while leaving the underlying keys unchanged. If a private key or recovery secret has already been copied, changing only the app password does not invalidate that copy. Conversely, losing an app password does not always mean the underlying key is lost if another supported recovery route exists. Implementations differ, so these outcomes must be checked against the wallet’s design rather than inferred from the word “password.” BIP-39

Compromise, backup and replacement

NIST key-management guidance treats generation, storage, backup, recovery, use, revocation and destruction as distinct parts of a key lifecycle. Blockchain protocols vary in how they handle a compromised signing key. Some key-controlled arrangements have no central reset function: moving assets or changing authorization may require a valid transaction while the original authorization is still available. Smart-contract accounts or managed custody systems may implement different recovery and replacement rules. NIST SP 800-57 Part 1 Rev. 5

Keeping the key undisclosed is necessary but does not make every signature appropriate. Malicious software can change transaction data, deceptive interfaces can request broader permissions than expected, and a signer can authorize an unwanted instruction without exporting the key. Key confidentiality and informed signing are separate controls.

Private keys and recovery phrases should not be entered into a page or message merely because someone claims to provide support or ownership verification. A normal signature-verification flow can verify a signature without asking the signer to reveal the secret key.

FAQ

Can a wallet provider reset a lost private key?

There is no universal private-key reset. In a conventional self-custody arrangement, recovery depends on an existing backup or a recovery mechanism already built into the wallet or account. Custodial and smart-contract-based arrangements can work differently.

Does exporting one private key back up the whole wallet?

Not necessarily. An HD wallet may manage many keys, and one leaf key does not reconstruct the seed, other branches, derivation settings or account metadata. The backup method must match the wallet architecture.

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

Read about public keys, seed phrases, blockchain addresses and crypto wallets, or return to the Crypto Glossary.

Sources

Ansvarsfraskrivelse
Dette innholdet leveres kun til informasjonsformål og kan omhandle produkter som ikke er tilgjengelige i din region. Det er ikke ment å utgjøre (i) investeringsrådgivning eller en investeringsanbefaling, (ii) et tilbud eller en oppfordring til å kjøpe, selge eller hold krypto/digitale aktiva, eller (iii) finansiell, regnskapsmessig, juridisk eller skattemessig rådgivning. Holding av krypto/digitale aktiva, inkludert stablecoins, innebærer en høy grad av risiko og kan svinge betydelig. Du bør nøye vurdere om trading eller holding av krypto/digitale aktiva er egnet for deg i lys av din økonomiske situasjon. Ta kontakt med din juridiske/skattemessige/investeringsrådgiver for spørsmål om dine spesifikke omstendigheter. Informasjon (inkludert markedsdata og statistisk informasjon, om noen) som fremgår av dette innlegget er kun for generelle informasjonsformål. Selv om det er utvist all rimelig aktsomhet ved utarbeidelsen av disse dataene og grafene, påtas det intet ansvar for eventuelle faktafeil eller utelatelser som er kommet til uttrykk her.

Digitale aktiva er utsatt for volatilitet og er ikke forsikret. Ikke finansiell/investeringsrådgivning. Ikke alle produkter og tjenester tilbys i alle regioner. Unntak og vilkår og betingelser gjelder.

© 2026 OKX. Denne artikkelen kan gjengis eller distribueres i sin helhet, eller utdrag på 100 ord eller mindre av denne artikkelen kan brukes, forutsatt at slik bruk er ikke-kommersiell. Enhver gjengivelse eller distribusjon av hele artikkelen må også tydelig angi: «Denne artikkelen er © 2026 OKX og brukes med tillatelse.» Tillatte utdrag må sitere navnet på artikkelen og inkludere kildehenvisning, for eksempel «Artikkelnavn, [forfatternavn hvis aktuelt], © 2026 OKX.» Noe innhold kan være generert eller assistert av verktøy for kunstig intelligens (AI). Ingen bearbeidelser eller annen bruk av denne artikkelen er tillatt.

Relaterte artikler

Se mer
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. okt. 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. okt. 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. okt. 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. okt. 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. okt. 2026
hard wallet

What is a hardware wallet?

A hardware wallet is a purpose-built physical device that stores or derives private keys and signs requests separately from a general-purpose computer or phone. When the design and implementation work
28. okt. 2026
Se mer