[This piece originally appreared in McSweeneysnew issue, The End of Trust, a collection featuring over 30 writers investigating surveillance, technology, and privacy, with special advisors the Electronic Frontier Foundation.]
Over the last five years, Edward Snowden and I have carried on an almost daily conversation, most of it unrelated to his legal troubles. Sometimes we meet in person in Moscow over vodka (me) and milkshakes (him). But our friendship has mostly taken place on secure messaging platforms, a channel that was comfortable and intuitive for him but took some getting used to for me. I learned to type with two thumbs as we discussed politics, law, and literature; family, friends, and foster dogs. Our sensibilities are similar but our worldviews quite different: I sometimes accuse him of technological solutionism; he accuses me of timid incrementalism.
Through it all, Ive found him to be the clearest, most patient, and least condescending explainer of technology Ive ever met. Ive often thought that I wished more people or perhaps different people could eavesdrop on our conversations. What follows is a very lightly edited transcript of one of our chats. In it, Ed attempts to explain blockchain to me, despite my best efforts to cling to my own ignorance.
Ben Wizner: The Electronic Frontier Foundation recently joked that the amount of energy required to download tweets, articles, and instant messages which describe what the blockchain is and how decentralized currencies are the future will soon eclipse the total amount of power used by the country of Denmark. Its true that there are a lot of blockchain explainers out there. And yet Im ashamed to admit I still dont really get it.
Edward Snowden: Are you asking for another math lesson? Ive been waiting for this day. You remember what a cryptographic hash function is, right?
BW: This is where Im supposed to make a joke about drugs. But no, I do not now nor will I ever remember that.
ES: Challenge accepted. Lets start simpler: what do you know about these mythical blockchains?
BW: That I could have been rich if Id listened to you about this four years ago? But really, Ive heard a lot and understood little. Decentralized. Ledgers. What the hell is a blockchain?
ES: Its basically just a new kind of database. Imagine updates are always added to the end of it instead of messing with the old, preexisting entries just as you could add new links to an old chain to make it longer and youre on the right track. Start with that concept, and well fill in the details as we go.
BW: Okay, but why? What is the question for which blockchain is the answer?
ES: In a word: trust. Imagine an old database where any entry can be changed just by typing over it and clicking save. Now imagine that entry holds your bank balance. If somebody can just arbitrarily change your balance to zero, that kind of sucks, right? Unless youve got student loans.
The point is that any time a system lets somebody change the history with a keystroke, you have no choice but to trust a huge number of people to be both perfectly good and competent, and humanity doesnt have a great track record of that. Blockchains are an effort to create a history that cant be manipulated.
BW: A history of what?
ES: Transactions. In its oldest and best-known conception, were talking about Bitcoin, a new form of money. But in the last few months, weve seen efforts to put together all kind of records in these histories. Anything that needs to be memorialized and immutable. Health-care records, for example, but also deeds and contracts.
When you think about it at its most basic technological level, a blockchain is just a fancy way of time-stamping things in a manner that you can prove to posterity hasnt been tampered with after the fact. The very first bitcoin ever created, the Genesis Block, famously has one of those general attestations attached to it, which you can still view today.
It was a cypherpunk take on the old practice of taking a selfie with the days newspaper, to prove this new bitcoin blockchain hadnt secretly been created months or years earlier (which would have let the creator give himself an unfair advantage in a kind of lottery well discuss later).
BW: Blockchains are a history of transactions. Thats such a letdown. Because Ive heard some extravagant claims like: blockchain is an answer to censorship. Blockchain is an answer to online platform monopolies.
ES: Some of that is hype cycle. Look, the reality is blockchains can theoretically be applied in many ways, but its important to understand that mechanically, were discussing a very, very simple concept, and therefore the applications are all variations on a single theme: verifiable accounting. Hot.
So, databases, remember? The concept is to bundle up little packets of data, and that can be anything. Transaction records, if were talking about money, but just as easily blog posts, cat pictures, download links, or even moves in the worlds most over-engineered game of chess. Then, we stamp these records in a complicated way that Im happy to explain despite protest, but if youre afraid of math, you can think of this as the high-tech version of a public notary. Finally, we distribute these freshly notarized records to members of the network, who verify them and update their independent copies of this new history. The purpose of this last step is basically to ensure no one person or small group can fudge the numbers, because too many people have copies of the original.
Its this decentralization that some hope can provide a new lever to unseat todays status quo of censorship and entrenched monopolies. Imagine that instead of todays world, where publicly important data is often held exclusively at GenericCorp LLC, which can and does play God with it at the publics expense, its in a thousand places with a hundred jurisdictions. There is no takedown mechanism or other lets be evil button, and creating one requires a global consensus of, generally, at least 51 percent of the network in support of changing the rules.
mechanically, were discussing a very, very simple concept, and therefore the applications are all variations on a single theme: verifiable accounting. Hot.
BW: So even if Peter Thiel won his case and got a court order that some article about his vampire diet had to be removed, there would be no way to enforce it. Yes? That is, if Blockchain Magazine republished it.
ES: Right so long as Blockchain Magazine is publishing to a decentralized, public blockchain, they could have a judgment ordering them to set their office on fire and it wouldnt make a difference to the network.
BW: So how does it work?
ES: Oh man, I was waiting for this. Youre asking for the fun stuff. Are you ready for some abstract math?
BW: As ready as Ill ever be.
ES: Lets pretend youre allergic to finance, and start with the example of an imaginary blockchain of blog posts instead of going to the normal Bitcoin examples. The interesting mathematical property of blockchains, as mentioned earlier, is their general immutability a very short time past the point of initial publication.
For simplicitys sake, think of each new article published as representing a block extending this blockchain. Each time you push out a new article, you are adding another link to the chain itself. Even if its a correction or update to an old article, it goes on the end of the chain, erasing nothing. If your chief concerns were manipulation or censorship, this means once its up, its up. It is practically impossible to remove an earlier block from the chain without also destroying every block that was created after that point and convincing everyone else in the network to agree that your alternate version of the history is the correct one.
Lets take a second and get into the reasons for why thats hard. So, blockchains are record-keeping backed by fancy math. Great. But what does that mean? What actually stops you from adding a new block somewhere other than the end of the chain? Or changing one of the links thats already there?
We need to be able to crystallize the things were trying to account for: typically a record, a timestamp, and some sort of proof of authenticity.
So on the technical level, a blockchain works by taking the data of the new block the next link in the chain stamping it with the mathematic equivalent of a photograph of the block immediately preceding it and a timestamp (to establish chronological order of publication), then hashing it all together in a way that proves the block qualifies for addition to the chain.
BW: Hashing is a real verb?
ES: A cryptographic hash function is basically just a math problem that transforms any data you throw at it in a predictable way. Any time you feed a hash function a particular cat picture, you will always, always get the same number as the result. We call that result the hash of that picture, and feeding the cat picture into that math problem hashing the picture. The key concept to understand is that if you give the very same hash function a slightly different cat picture, or the same cat picture with even the tiniest modification, you will get a WILDLY different number (hash) as the result.
BW: And you can throw any kind of data into a hash function? You can hash a blog post or a financial transaction or Moby-Dick?
ES: Right. So we hash these different blocks, which, if you recall, are just glorified database updates regarding financial transactions, web links, medical records, or whatever. Each new block added to the chain is identified and validated by its hash, which was produced from data that intentionally includes the hash of the block before it. This unbroken chain leads all the way back to the very first block, which is what gives it the name.
Im sparing you some technical nuance here, but the important concepts to understand are that blocks in the chain are meant to be verifiable, strictly ordered by chronology, and immutable. Each new block created, which in the case of Bitcoin happens every ten minutes, effectively testifies about the precise contents of all the ones that came before it, making older blocks harder and harder to change without breaking the chain completely.
So by the time our Peter Thiel catches wind of the story and decides to kill it, the chain has already built a thousand links of confirmable, published history.
Money is, of course, the best and most famous example of where blockchains have been proven to make sense.
BW: And this is going to save the internet? Can you explain why some people think blockchain is a way to get around or replace huge tech platform monopolies? Like how could it weaken Amazon? Or Google?
ES: I think the answer there is wishful thinking. At least for the foreseeable future. We cant talk Amazon without getting into currency, but I believe blockchains have a much better chance of disrupting trade than they do publication, due to their relative inefficiency.
Think about our first example of your bank balance in an old database. That kind of setup is fast, cheap, and easy, but makes you vulnerable to the failures or abuses of what engineers call a trusted authority. Blockchains do away with the need for trusted authorities at the expense of efficiency. Right now, the old authorities like Visa and MasterCard can process tens of thousands of transactions a second, while Bitcoin can only handle about seven. But methods of compensating for that efficiency disadvantage are being worked on, and well see transaction rates for blockchains improve in the next few years to a point where theyre no longer a core concern.
BW: Ive been avoiding this, because I cant separate cryptocurrency from the image of a bunch of tech bros living in a palace in Puerto Rico as society crumbles. But its time for you to explain how Bitcoin works.
ES: Well, I hate to be the bearer of bad news, but Zuckerberg is already rich.
Money is, of course, the best and most famous example of where blockchains have been proven to make sense.
BW: With money, what is the problem that blockchain solves?
ES: The same one it solves everywhere else: trust. Without getting too abstract: what is money today? A little cotton paper at best, right? But most of the time, its just that entry in a database. Some bank says youve got three hundred rupees today, and you really hope they say the same or better tomorrow.
Now think about access to that reliable bank balance that magical number floating in the database as something that cant be taken for granted, but is instead transient. Youre one of the worlds unbanked people. Maybe you dont meet the requirements to have an account. Maybe banks are unreliable where you live, or, as happened in Cyprus not too long ago, they decided to seize peoples savings to bail themselves out. Or maybe the money itself is unsound, as in Venezuela or Zimbabwe, and your balance from yesterday that couldve bought a house isnt worth a cup of coffee today. Monetary systems fail.
BW: Hang on a minute. Why is a bitcoin worth anything? What generates value? What backs the currency? When I own a bitcoin, what do I really own?
ES: Good question. What makes a little piece of green paper worth anything? If youre not cynical enough to say men with guns, which are the reason legal tender is treated different from Monopoly money, youre talking about scarcity and shared belief in the usefulness of the currency as a store of value or a means of exchange.
Lets step outside of paper currencies, which have no fundamental value, to a more difficult case: why is gold worth so much more than its limited but real practical uses in industry? Because people generally agree its worth more than its practical value. Thats really it. The social belief that its expensive to dig out of the ground and put on a shelf, along with the expectation that others are also likely to value it, transforms a boring metal into the worlds oldest store of value.
Blockchain-based cryptocurrencies like Bitcoin have very limited fundamental value: at most, its a token that lets you save data into the blocks of their respective blockchains, forcing everybody participating in that blockchain to keep a copy of it for you. But the scarcity of at least some cryptocurrencies is very real: as of today, no more than twenty-one million bitcoins will ever be created, and seventeen million have already been claimed. Competition to mine the remaining few involves hundreds of millions of dollars worth of equipment and electricity, which economists like to claim are what really backs Bitcoin.
Yet the hard truth is that the only thing that gives cryptocurrencies value is the belief of a large population in their usefulness as a means of exchange. That belief is how cryptocurrencies move enormous amounts of money across the world electronically, without the involvement of banks, every single day. One day capital-B Bitcoin will be gone, but as long as there are people out there who want to be able to move money without banks, cryptocurrencies are likely to be valued.
BW: But what about you? What do you like about it?
ES: I like Bitcoin transactions in that they are impartial. They cant really be stopped or reversed, without the explicit, voluntary participation by the people involved. Lets say Bank of America doesnt want to process a payment for someone like me. In the old financial system, theyve got an enormous amount of clout, as do their peers, and can make that happen. If a teenager in Venezuela wants to get paid in a hard currency for a web development gig they did for someone in Paris, something prohibited by local currency controls, cryptocurrencies can make it possible. Bitcoin may not yet really be private money, but it is the first free money.
Bitcoin has competitors as well. One project, called Monero, tries to make transactions harder to track by playing a little shell game each time anybody spends money. A newer one by academics, called Zcash, uses novel math to enable truly private transactions. If we dont have private transactions by default within five years, itll be because of law, not technology.
As with all new technologies, there will be disruption and there will be abuse. The question is whether, on balance, the impact is positive or negative.
BW: So if Trump tried to cut off your livelihood by blocking banks from wiring your speaking fees, you could still get paid.
ES: And all he could do is tweet about it.
BW: The downside, I suppose, is that sometimes the ability of governments to track and block transactions is a social good. Taxes. Sanctions. Terrorist finance.
We want you to make a living. We also want sanctions against corrupt oligarchs to work.
ES: If you worry the rich cant dodge their taxes without Bitcoin, Im afraid I have some bad news. Kidding aside, this is a good point, but I think most would agree were far from the low-water mark of governmental power in the world today. And remember, people will generally have to convert their magic internet money into another currency in order to spend it on high-ticket items, so the governments days of real worry are far away.
BW: Explore that for me. Wouldnt the need to convert Bitcoin to cash also affect your Venezuelan teen?
ES: The difference is scale. When a Venezuelan teen wants to trade a months wages in cryptocurrency for her local currency, she doesnt need an ID check and a bank for that. Thats a level of cash people barter with every day, particularly in developing economies. But when a corrupt oligarch wants to commission a four hundred million-dollar pleasure yacht, well, yacht builders dont have that kind of liquidity, and the existence of invisible internet money doesnt mean cops wont ask how you paid for it.
The off-ramp for one is a hard requirement, but the other can opt for a footpath.
Similarly, its easier for governments to work collectively against real criminals think bin Laden than it is for them to crack down on dissidents like Ai Weiwei. The French would work hand in hand with the Chinese to track the activity of bin Ladens Bitcoin wallet, but the same is hopefully not true of Ai Weiwei.
BW: So basically youre saying that this wont really help powerful bad actors all that much.
ES: It could actually hurt them, insofar as relying on blockchains will require them to commit evidence of their bad deeds onto computers, which, as weve learned in the last decade, government investigators are remarkably skilled at penetrating.
BW: How would you describe the downsides, if any?
ES: As with all new technologies, there will be disruption and there will be abuse. The question is whether, on balance, the impact is positive or negative. The biggest downside is inequality of opportunity: these are new technologies that are not that easy to use and still harder to understand. They presume access to a level of technology, infrastructure, and education that is not universally available. Think about the disruptive effect globalization has had on national economies all over the world. The winners have won by miles, not inches, with the losers harmed by the same degree. The first-mover advantage for institutional blockchain mastery will be similar.
BW: And the internet economy has shown that a platform can be decentralized while the money and power remain very centralized.
ES: Precisely. There are also more technical criticisms to be made here, beyond the scope of what we can reasonably get into. Suffice it to say cryptocurrencies are normally implemented today through one of two kinds of lottery systems, called proof of work and proof of stake, which are a sort of necessary evil arising from how they secure their systems against attack. Neither is great. Proof of work rewards those who can afford the most infrastructure and consume the most energy, which is destructive and slants the game in favor of the rich. Proof of stake tries to cut out the environmental harm by just giving up and handing the rich the reward directly, and hoping their limitless, rent-seeking greed will keep the lights on. Needless to say, new models are needed.
BW: Say more about the environmental harms. Why does making magical internet money use so much energy?
ES: Okay, imagine you decide to get into mining bitcoins. You know there are a limited number of them up for grabs, but theyre coming from somewhere, right? And its true: new bitcoins will still continue to be created every ten minutes for the next couple years. In an attempt to hand them out fairly, the original creator of Bitcoin devised an extraordinarily clever scheme: a kind of global math contest. The winner of each roughly ten-minute round gets that rounds reward: a little treasure chest of brand new, never-used bitcoins, created from the answer you came up with to that rounds math problem. To keep all the coins in the lottery from being won too quickly, the difficulty of the next math problem is increased based on how quickly the last few were solved. This mechanism is the explanation of how the rounds are always roughly ten minutes long, no matter how many players enter the competition.
The flaw in all of this brilliance was the failure to account for Bitcoin becoming too successful. The reward for winning a round, once worth mere pennies, is now around one hundred thousand dollars, making it economically reasonable for people to divert enormous amounts of energy, and data centers full of computer equipment, toward the math or mining contest. Town-sized Godzillas of computation are being poured into this competition, ratcheting the difficulty of the problems beyond comprehension.
This means the biggest winners are those who can dedicate tens of millions of dollars to solving a never-ending series of problems with no meaning beyond mining bitcoins and making its blockchain harder to attack.
BW: A never-ending series of problems with no meaning sounds like nihilism. Lets talk about the bigger picture. I wanted to understand blockchains because of the ceaseless hype. Some governments think that Bitcoin is an existential threat to the world order, and some venture-capital types swear that blockchains will usher in a golden age of transparency. But youre telling me its basically a fancy database.
ES: The tech is the tech, and its basic. Its the applications that matter. The real question is not what is a blockchain, but how can it be used? And that gets back to what we started on: trust. We live in a world where everyone is lying about everything, with even ordinary teens on Instagram agonizing over how best to project a lifestyle they dont actually have. People get different search results for the same query. Everything requires trust; at the same time nothing deserves it.
This is the one interesting thing about blockchains: they might be that one tiny gear that lets us create systems you dont have to trust. Youve learned the only thing about blockchains that matters: theyre boring, inefficient, and wasteful, but, if well designed, theyre practically impossible to tamper with. And in a world full of shifty bullshit, being able to prove something is true is a radical development. Maybe its the value of your bank account, maybe its the provenance of your pair of Nikes, or maybe its your for-real-this-time permanent record in the principals office, but records are going to transform into chains we cant easily break, even if theyre open for anyone in the world to look at.
The hype is a world where everything can be tracked and verified. The question is whether its going to be voluntary.
BW: That got dark fast. Are you optimistic about how blockchains are going to be used once we get out of the experimental phase?
ES: What do you think?
Read this article:
Edward Snowden Explains Blockchain to His Lawyer and the ...