Key Highlights
- Bitcoin payments rely on private keys to authorize transactions and public keys to verify signatures.
- Bitcoin’s ECDSA and Schnorr signatures use secp256k1; cracking the private key from the public key could let an attacker authorize payments.
- Some Bitcoin address types expose public keys on the blockchain, including older P2PK outputs and Taproot addresses.
How Bitcoin Keys Secure Payments
A Bitcoin private key is a secret used by a wallet to sign off on payments. The corresponding public key allows other participants on the network to verify that signature without learning the secret itself. The security of this arrangement depends on the practical difficulty of deriving a private key from its public key. At present, that calculation is considered infeasible for computers.
If someone could solve that problem, they could authorize payments as though they owned the coins. They would not need to steal a password or trick a wallet owner into clicking a malicious link; access to the private key would let them produce valid signatures.
Bitcoin’s Signature Systems and secp256k1
Bitcoin’s signature security is built on secp256k1, a mathematical curve used in elliptic-curve cryptography. The original signature scheme, ECDSA, relies on the difficulty of deriving a private key from a public key. Bitcoin’s newer Schnorr signatures rely on the same underlying difficulty and were introduced with the Taproot upgrade in 2021.
SHA-256 serves a different purpose in Bitcoin. Miners use the hashing function to produce blocks, but it does not protect the signatures that authorize payments, as the Bitcoin specification shows.
When Bitcoin Public Keys Are Revealed
Not every Bitcoin address keeps its public key hidden until a payment is spent. Many of Bitcoin’s earliest payments used pay-to-public-key, or P2PK, which placed the public key directly on the blockchain. Taproot addresses also reveal the public key as soon as coins are sent to them.
Why This Matters
Public-key exposure matters because Bitcoin’s payment authorization depends on the security of private keys. A public key can be shared for signature verification, but the ability to derive its corresponding private key would allow someone to authorize payments without the owner’s permission. The distinction between Bitcoin’s signature systems and SHA-256 is also important: the mining hash function does not provide protection against a compromised signing key.
Frequently Asked Questions
What does a Bitcoin private key do?
A private key lets a wallet sign and authorize Bitcoin payments. The matching public key lets the network verify those signatures without revealing the private key.
Does SHA-256 protect Bitcoin signatures?
No. SHA-256 is used by miners to produce blocks. Bitcoin’s ECDSA and Schnorr signatures rely on the security of secp256k1 instead.
Which Bitcoin address types reveal public keys?
Older pay-to-public-key (P2PK) payments put the public key directly on the blockchain. Taproot addresses reveal the public key when coins are sent to them.




