Blog · Fairness & Anti-Cheating

Mental Poker: The Cryptography of Dealing Fair Cards Without a Dealer

Fairness & Verification Published July 20, 2026 · Fair Poker Research Team

In 1979, two cryptographers (later Turing Award winners) posed a playful question: can two people who don’t trust each other play a fair game of poker over the telephone? No dealer, no referee, no way to see each other — yet nobody must be able to peek or swap cards. Their answer became the “mental poker” protocol — the ancestor of every verifiable dealing system in use today.

The padlock analogy: the core idea in three minutes

Picture a deck where every card goes into a box. The key gadget is a special kind of padlock: one box can carry several locks at once, and they can be removed in any order (mathematicians call this commutative encryption).

Cheating finds no foothold: to peek early you lack the other player’s key; to swap a card you’d have to break their lock; to lie about history, every step has been recorded.

From 1979 to today: three things got stronger

The original protocol was a theoretical construction. Its practical arrival owes to three advances:

Fair Poker’s implementation choices

Fair Poker engineers this academic protocol into a playable product: the browser of every seated player encrypts and shuffles the deck in turn; per-card decryption keys go only to the card’s recipient; the relay server transports only signed ciphertext (see can poker sites see your cards?); and the complete transcript of every hand can be re-verified by hand with the public verifier.

One-sentence summary: mental poker converts fairness from trust in people into trust in mathematics. People change, get bribed, make mistakes; the discrete logarithm does not.

Common questions

Curious how provable fairness is built?

Fair Poker is a non-profit open-source research project on verifiable Texas Hold’em fairness: the deck is co-encrypted and shuffled by participant browsers, there is no dealing server, and every hand can be verified independently. The project provides no gaming service to the public; the full source is published — download it and run your own instance to study it.

Download the source

This site is a non-profit open-source research project and provides no gaming service to the public; the demo is research-testing only with valueless test chips — no real-money gambling. This article is educational content, not betting advice.

← Back to all articles