Private Key
- Category
- Blockchain
- Level
- Professional
Simple definition
A very large secret number. It produces the signature that lets a balance move, so holding it is what ownership means on a blockchain.
Professional definition
The secret half of an asymmetric key pair. The public key, and the address derived from it, can be published freely; only the private key can produce a signature that the network will accept for that address. It is never sent anywhere — signing happens locally and only the signature travels.
Technical definition
A scalar drawn from the key space of an elliptic curve, in Bitcoin and Ethereum the curve secp256k1. Scalar multiplication by the curve generator gives the public key, and the operation is one-way for all practical purposes, so the public key reveals nothing usable about the secret. Signatures are existentially unforgeable without the key, but a reused or biased nonce can leak it, which is an implementation risk rather than a mathematical one.
Academic definition
The secret scalar of an asymmetric key pair over an elliptic-curve group, used to produce digital signatures that authorise state transitions verifiable against the corresponding public key.
Mechanism
Verification needs only the public key, so every node can check a signature without ever seeing the secret. That asymmetry is what lets an open network enforce ownership with no registrar. It also means there is no account to lock: a leaked key cannot be invalidated, only emptied by moving the balance to a key that is still secret.
In practice
- Who uses it
- Wallet and node developers, custody engineers, auditors, and anyone signing transactions by hand or by script.
- Why it matters
- It is the whole access-control model of a blockchain, so key handling is where almost all real losses originate.
- Limitations
- Mathematics protects the key only while the device, the random-number source and the signing library behave; most key compromises are software or human, not cryptographic.
Common mistakes
- Pasting a key into a browser tool, exchange field or chat.
- Generating keys with an untrusted or weak random source.
- Treating a once-exposed key as safe after moving funds back to it.
Examples
The secp256k1 key space is slightly under 2 to the power of 256, roughly 1.16 times 10 to the power of 77. No search budget reaches it, which is why attackers target phones, clipboards and people instead.
- Curve order of secp256k1 is slightly less than 2^256
- A valid private key is any integer in [1, n-1]
- 2^256 = 1.1579 x 10^77 approximately
- The curve order n is a little below that, so the usable space is of the same magnitude
Size of the space bounds brute force only. It gives no protection against a weak random-number generator, which can shrink the real space to something searchable.
A signing script reuses the same random nonce for two different transactions. Both signatures publish, and the key can then be recovered from them arithmetically. The curve was never broken; the implementation was.
Related terminology
Seed Phrase
The seed phrase is the root secret a whole key tree is derived from. A private key is one leaf of that tree.
Sources
O'Reilly · 2017 · chapter on keys, addresses and elliptic-curve arithmetic
Print source
Bitcoin Improvement Proposals · 2012 · parent and child key derivation
Print source
NIST · the hash functions used when deriving addresses from public keys
https://nvlpubs.nist.gov/nistpubs/fips/nist.fips.180-4.pdf URL verified
Editorial status
Written, not yet reviewed.
