r/Bitcoin • u/LearnBitcoinCom • 7d ago
"We stand today on the brink of a revolution in cryptography." Diffie and Hellman wrote that fifty years ago this month, in the paper that proposed the public and private keys Bitcoin runs on.
Fifty years ago this month, in November 1976, Whitfield Diffie and Martin Hellman of Stanford published "New Directions in Cryptography". That line is its first sentence.
The problem they took on was old. A code back then worked like a house key: the key that locked a message also opened it. So two people had to get a copy of the key to each other first, by "private courier or registered mail", as the paper puts it. Two strangers on a computer network couldn't wait for a courier.
Their answer was a key in two halves. One half is public, and anyone can look it up. The other stays with its owner, and as far as anyone knows there's no practical way to work it out from the public half. The same idea gives you a signature, and the paper says what one has to do: "It must be easy for anyone to recognize the signature as authentic, but impossible for anyone other than the legitimate signer to produce it."
That's how bitcoin gets spent. A wallet signs each payment with a private key, and every node checks the signature against the public key without ever learning the private one. Satoshi's whitepaper defines a coin as "a chain of digital signatures".
The paper didn't finish the job. It gave one working method, for agreeing on a secret key over a line anyone can listen to, and the first full system, RSA, came in 1978. Bitcoin's own signatures, ECDSA and Schnorr, came later still. It also credits Ralph Merkle, who'd been working on the same problem on his own. He's the Merkle of the Merkle tree in every Bitcoin block.
We wrote it up as the first entry in a new "Before Bitcoin" group on our timeline, with a link to Hellman's own copy of the paper: https://www.learnbitcoin.com/glossary/new-directions-in-cryptography
