QueenBee
In Bitcoin, cryptography isn't just for keeping messages secret. It's what makes the whole system work without a bank, a central server, or anyone having to trust each other.
Bitcoin uses three main cryptographic tools, each for a different job:
1. Public-key cryptography - proving you own your coin
Every Bitcoin wallet is really just a pair of keys:
Private key: A random 256-bit number. This is your ownership. Whoever has it can spend the coins. Never share it. • Public key: Derived from the private key. You can share it freely. • Bitcoin address: A shorter, hashed version of your public key. This is what you give people to receive BTC, like bc1q
When you spend BTC, you don't send a password. You create a transaction that says move 0.01 BTC from this address to that address" and you sign it with your private key.
That signature proves two things without revealing the private key:
1. You actually own those coins 2. You approved this exact transaction, no one changed the amount or recipient afterward
Everyone else on the network can verify the signature using your public key. If it checks out, the transaction is valid. If not, it's rejected.
This is why "not your keys, not your coins" is literal in Bitcoin. If an exchange holds your private key, they control the coins.
2. Hashing - linking blocks and mining
Bitcoin uses SHA-256, a hash function that turns any input into a fixed 256-bit fingerprint.
It does two critical jobs:
a) Chaining blocks together
Each block contains the hash of the previous block. Change one transaction in an old block, its hash changes, which breaks the link to the next block, and every block after it. To rewrite history, you'd have to redo all the work for all those blocks. That's why Bitcoin's ledger is called a blockchain.
b) Proof-of-Work mining
Miners compete to find a number called a nonce that, when combined with the block's transactions, produces a hash that starts with a certain number of zeros.
When a miner finds a valid hash, other nodes can verify it instantly
$BTC $USDC
In Bitcoin, cryptography isn't just for keeping messages secret. It's what makes the whole system work without a bank, a central server, or anyone having to trust each other.
Bitcoin uses three main cryptographic tools, each for a different job:
1. Public-key cryptography - proving you own your coin
Every Bitcoin wallet is really just a pair of keys:
Private key: A random 256-bit number. This is your ownership. Whoever has it can spend the coins. Never share it. • Public key: Derived from the private key. You can share it freely. • Bitcoin address: A shorter, hashed version of your public key. This is what you give people to receive BTC, like bc1q
When you spend BTC, you don't send a password. You create a transaction that says move 0.01 BTC from this address to that address" and you sign it with your private key.
That signature proves two things without revealing the private key:
1. You actually own those coins 2. You approved this exact transaction, no one changed the amount or recipient afterward
Everyone else on the network can verify the signature using your public key. If it checks out, the transaction is valid. If not, it's rejected.
This is why "not your keys, not your coins" is literal in Bitcoin. If an exchange holds your private key, they control the coins.
2. Hashing - linking blocks and mining
Bitcoin uses SHA-256, a hash function that turns any input into a fixed 256-bit fingerprint.
It does two critical jobs:
a) Chaining blocks together
Each block contains the hash of the previous block. Change one transaction in an old block, its hash changes, which breaks the link to the next block, and every block after it. To rewrite history, you'd have to redo all the work for all those blocks. That's why Bitcoin's ledger is called a blockchain.
b) Proof-of-Work mining
Miners compete to find a number called a nonce that, when combined with the block's transactions, produces a hash that starts with a certain number of zeros.
When a miner finds a valid hash, other nodes can verify it instantly
$BTC $USDC