Skip to main content
Educational use only. Never put real funds behind a key generated in a web browser.Browser memory can be read by extensions, the page can be cached, and you cannot audit what the page did with the key. Real keys belong in a hardware wallet or an audited offline generator. For production custody, see the Bitnob Enterprise API, where keys are generated inside a hardware-isolated enclave and never exported.
A Bitcoin private key is simply a 256-bit number below the secp256k1 curve order. Its public key is derived by multiplying the curve’s generator point by that number, and the address is a hash of the public key. Each step goes one way only: you can derive an address from a key, never the reverse.

The chain of derivation

Key formats

K and L indicate a compressed public key, which is what modern wallets use; 5 indicates the older uncompressed form.

What real wallets do instead

Production wallets do not generate independent keys. They generate one BIP-39 seed phrase, then derive an unlimited tree of keys from it deterministically (BIP-32). That way a single backup recovers every address. The course module on wallets and addresses walks through this from the CLI.