Keys & Addresses

Private Key

A private key is a secret 256-bit number that grants complete control over the bitcoin associated with its corresponding address. It is the mathematical proof of ownership and must never be shared or exposed.

How It Works

A Bitcoin private key is a randomly generated 256-bit number — essentially a number between 1 and roughly 2^256. From this single number, your public key and all associated addresses are mathematically derived using elliptic curve cryptography (secp256k1). The relationship is one-directional: you can always derive the public key from the private key, but it is computationally impossible to reverse the process.

When you spend bitcoin, you create a digital signature using your private key. This signature proves you control the funds without revealing the key itself. Every full node on the network can verify this signature using only your public key, which is why Bitcoin works without trusted third parties.

The quality of your private key depends entirely on the randomness (entropy) used to generate it. Hardware wallets use dedicated random number generators and secure elements to ensure keys are generated properly. Never generate private keys using your own methods, mental shortcuts, or weak sources of randomness — this is how bitcoin gets stolen.

Key Points

  • A 256-bit random number that serves as the ultimate proof of bitcoin ownership
  • Must be generated with high-quality entropy — never manually or from predictable sources
  • Can derive public keys and addresses, but the reverse is computationally impossible
  • Digital signatures prove ownership without ever exposing the key itself
  • Losing your private key means permanently losing access to your bitcoin