Download the app

Scan. It's in your pocket.

QR Code — Dygest

Open the Camera app and point it at the code. Free to try.

Electronic Payment Systems for E-Commerce

Electronic Payment Systems for E-Commerce

How digital payments stay secure

Listen to the podcast excerpt:
0:00 --:--

Description

Handing over a twenty-dollar bill is one of the most trusting things we do without noticing. We don't check whether the note is real, whether the person taking it will hand it to someone else, whether a stranger down the street is watching. The transaction happens, the money moves, nobody keeps a record. Now move that same exchange onto a wire — a message travelling across networks owned by companies we've never heard of, readable in principle by anyone with the right position on the line. Suddenly every quiet assumption behind the twenty-dollar bill has to be rebuilt from scratch, in mathematics.

That rebuilding job is the subject of Donal O'Mahony's book, written with Michael Peirce and Hitesh Tewari, which surveys the systems that let money cross electronic networks. It was assembled in the late 1990s and revised as the web turned into a shopping mall, at a moment when nobody was quite sure which payment design would win. The book reads the landscape the way an engineer would: not as a story about companies, but as a set of protocols, each one an answer to the same brutal question. How do you move value between two parties who don't trust each other, over a channel that trusts nobody?

What emerges is less a catalogue of gadgets than a map of trade-offs. Every scheme the authors examine buys one thing by giving up another — anonymity for auditability, speed for security, low cost for strong guarantees. The cryptography is the visible machinery, but the real content is the negotiation underneath it. Reading the book now, decades on, the specific protocols have dated. The tensions they were built to resolve have not.

The question we’re asking : How do you move money safely between strangers over a network that trusts no one?What we’ll see : The engineering behind digital payment — the cryptographic tricks, the trade-offs, and the quiet compromises every scheme is forced to make.

Table of contents

01

Chapter 1 — The problem money always had

Before any protocol, O'Mahony and his co-authors start with what money is actually asked to do. A payment is not one action but a bundle of them held together. The value has to be genuine, not forged. It has to move once and only once — the same coin can't be spent twice. The person paying has to be who they claim to be, and so, often, does the person being paid. And afterwards, both sides need some way to prove what happened, or to be sure that nothing can be denied later. Physical cash solves all of this quietly, through the difficulty of counterfeiting and the simple fact that once a note leaves your hand, it's gone.

On a network none of that comes for free. A digital message is trivial to copy — that's the whole point of digital. So the thing that makes cash work, the impossibility of being in two places at once, evaporates. A string of bits representing ten dollars can be duplicated a thousand times at no cost. The authors frame this as the central engineering headache of electronic payment: double spending. Any scheme worth taking seriously has to make it impossible, or at least catchable, to spend the same money twice.

Download Dygest

for the full experience!

02

Chapter 2 — Cash without coins

The most ambitious idea the book covers is electronic cash: money that behaves online the way a banknote behaves in the street. Anonymous, transferable, spendable without a bank watching over the shoulder. The intellectual heart of this is the work of the cryptographer David Chaum, whose blind signature scheme the authors treat as the foundational trick. It lets a bank certify that a piece of digital money is genuine — sign it, in effect — without ever seeing the serial number it's signing. The bank vouches for the value; it cannot later trace where the value went.

The metaphor Chaum used, and the book borrows, is a document sealed inside a carbon-lined envelope. You slide it under the bank's pen; the signature presses through the envelope onto the paper inside; the bank never sees the contents. When you later spend the coin, the merchant and bank can verify the signature is real, but the bank can't match it to the withdrawal. This is what gives electronic cash its remarkable property: it can be both verifiable and private, a combination that feels almost contradictory until the mathematics makes it ordinary.

Download Dygest

for the full experience!

03

Chapter 3 — The card that had to cross a hostile wire

Against the purity of electronic cash, the book sets the messier reality of the credit card. People already had cards, already trusted them, already knew how to complain when a charge went wrong. The pragmatic question was never how to invent new money but how to carry the existing card across an untrusted network without the number being stolen along the way. This is the family of credit-based schemes, and it's the one that quietly won the commercial argument.

The authors give particular attention to SET — Secure Electronic Transaction — the protocol backed by Visa and Mastercard in the late 1990s as the intended standard for card payments online. Its design is a small masterclass in distributing trust. Certificates issued by banks let each party prove who they are. A technique the authors highlight, dual signatures, lets a buyer send their order to the merchant and their payment details to the bank in a single linked act, such that the merchant learns what was bought but never sees the card number, and the bank learns the amount but never the shopping basket. Each party gets exactly what it needs and nothing more.

Download Dygest

for the full experience!

04

Chapter 4 — When the payment costs more than the thing

Step back from any single protocol and the book reveals what all of them are really haggling over. Every payment scheme is a settlement between three things that pull against each other: trust, privacy, and cost. You can have money the bank can trace and stand behind, but then it isn't private. You can have anonymous cash, but the institutions balk and the mathematics gets heavy. You can bolt on the strongest cryptography available, but if it costs too much to run, it stays on the page. No design escapes the triangle. Each one just chooses where to sit inside it.

The micropayment chapters make the cost corner impossible to ignore. Some things people want to buy online are worth a cent, or a fraction of one — a single article, a song, a moment of access. Run a full card transaction for that and the machinery costs more than the purchase. The fixed overhead of verifying, authenticating and settling swamps the value being moved. So the authors survey schemes built specifically to make each payment almost free to process: hash chains, where a single expensive signature covers a long run of tiny cheap payments; scrip and tokens that batch small sums so the bank only sees them in bulk.

Download Dygest

for the full experience!

05

Conclusion

Return to the twenty-dollar bill. What made it work was a set of guarantees nobody had to think about — it was genuine, it couldn't be in two places at once, and once handed over it left no trace. O'Mahony and his co-authors spend a whole book showing how much labour it takes to rebuild each of those guarantees in software, and how none of the rebuilt versions ever quite matches the original for free. Something always has to be paid for elsewhere: in computation, in privacy surrendered, in an institution willing to carry the risk.

Download Dygest

for the full experience!