A type of digital coinage based on complex cryptography could shape how we engage in commerce online









As American consumption habits become increasingly focused on online transactions and e-commerce, companies have been striving to find a model for a digital currency that works. Facebook's credit system is probably the most visible example, allowing users to purchase apps and games within the social network's vast ecosystem. But should each website devise it's own internal currency system? And is the Web too expansive and fragmented for a digital version of a currency exchange to work?





At Technology Review, Tom Simonite thinks Bitcoin, a peer-to-peer digital currency backed not by a state or company but, in Simonite's words, a "clever cryptographic scheme," may hold the answer. In a thorough explainer, Simonite argues that while bitcoins remain relatively worthless now, the currency matters for the future of the digital economy.





Among the biggest challenges for online currency is security: how do you know you're actually receiving payment for services rendered? How do you know that you're online coinage won't be swindled away, or instantly devalued for no apparent reason? In 2008, a programmer known as Satoshi Nakamoto wanted people to be able to exchange money electronically securely without the need for a third party website like PayPal that may exercise undue control over your account and funds. Nakamoto based Bitcoin on cryptographic techniques that allow you to be sure the money you receive is genuine, even if you don't trust the sender.





Once you download and run the Bitcoin client software , it connects over the Internet to the decentralized network of all Bitcoin users and also generates a pair of unique, mathematically linked keys, which you'll need to exchange bitcoins with any other client. One key is private and kept hidden on your computer. The other is public and a version of it dubbed a Bitcoin address is given to other people so they can send you bitcoins. Crucially, it is practically impossible--even with the most powerful supercomputer--to work out someone's private key from their public key. This prevents anyone from impersonating you. Your public and private keys are stored in a file that can be transferred to another computer, for example if you upgrade.

A Bitcoin address looks something like this: 15VjRaDX9zpbA8LVnbrCAFzrVzN7ixHNsC. Stores that accept bitcoins--for example, this one, selling alpaca socks --provide you with their address so you can pay for goods.

When you perform a transaction, your Bitcoin software performs a mathematical operation to combine the other party's public key and your own private key with the amount of bitcoins that you want to transfer. The result of that operation is then sent out across the distributed Bitcoin network so the transaction can be verified by Bitcoin software clients not involved in the transfer.

Those clients make two checks on a transaction. One verifies the mathematical relationship between the public and private keys to confirm that the true owner of the pair sent the money; the second refers to a public transaction log stored on the computer of every Bitcoin user to confirm that the person has the bitcoins to spend.

When a client verifies a transaction, it forwards the details to others in the network to check for themselves. In this way a transaction quickly reaches and is verified by every Bitcoin client that is online. Some of those clients - "miners" - also try to add the new transfer to the public transaction log, by racing to solve a cryptographic puzzle. Once one of them wins the updated log is passed throughout the Bitcoin network. When your software receives the updated log it knows your payment was successful.





"The nature of the mathematics ensures that it is computationally easy to verify a transaction but practically impossible to generate fake transactions and spend bitcoins you don't own," writes Simonite. Injecting an especially complex cryptographic layer and maintaining each code in a public log will allow companies to track every individual bitcoin transaction, deterring money laundering and making forgery unthinkable.





While exchanges like Mt. Gox allow consumers to seamlessly exchange their digital nickel and dimes for other types of currency, there are currently few stores that accept bitcoins, and no major retailers consider the new currency valid just yet. While the bitcoin may not come to overpower the dollar as currency of choice in the global economy, it may become the de facto dollar for technical services in the digital space. For more on the mechanics and challenges of Bitcoin, read Simonite's full article at Technology Review





Image: doug88888/Flickr

We want to hear what you think about this article. Submit a letter to the editor or write to letters@theatlantic.com.