RakebackBitcoin
BTC $61,743 Fees 1 · 1 · 1 · 1 sat/vB Block 977,779 as of 2026-11-27 08:37 UTC
An opened brass capsule in two halves on marble with a folded blank paper inside.
AI-generated image

CoinWiki · crypto term

Provably fair poker: how seeds and hashes check a shuffle

Provably fair poker means a room publishes enough about each shuffle that a player can check, after the hand, that the deck was not changed once play began. The method uses a hash of a secret seed shown before the hand, and the seed itself revealed after it.

01 · Provably fair

How provably fair poker works, step by step

Before the hand the room commits to a secret server seed by publishing its hash. Players add seeds of their own. The deck order comes from all the seeds together, and after the hand the room reveals its seed so anyone can recompute the shuffle.

A hash function turns any input into a fixed-length fingerprint, and changing a single character of the input changes the fingerprint completely. Because the hash comes first, the room cannot swap in a different seed later without the mismatch showing. In provably fair poker that commitment is the whole trick: the room is locked in before a single card is seen.

Player seeds stop the room from choosing a seed that produces a deck it likes. If every seated player, or a value the room does not control, feeds into the shuffle, no single party can steer the result alone.

The check is simple work for a computer: take the revealed seeds, run the published algorithm, and compare the deck with the cards that were dealt. Some systems put a verifier in the browser; others publish the code so you can run it yourself.

Seeds also need a hand counter, usually called a nonce. Each new hand adds one to it, so the same pair of seeds produces a different deck every time, and the room cannot replay a favourable shuffle from an earlier hand.

A glass bell jar over a single ivory die on a walnut base.
Sealed before the hand, opened after it.AI-generated image

What it leaves out matters just as much. A provable shuffle says nothing about collusion between players, about bots, or about whether the room pays withdrawals. It answers one question: was the deck fixed before the cards came out?

Provably fair poker is rarer than provably fair dice or crash games, partly because a poker deal involves several players who would all need to contribute seeds, and partly because rooms with established certification already use audited random number generators.

02 · Try it

Type a seed and check a deck shuffle yourself

Type any text, see its SHA-256 fingerprint, shuffle a deck from it, then verify that the same seed gives the same order.

Illustration, not any room's real algorithm

Commit, shuffle, verify

1. The room publishes a fingerprint (hash) of its secret seed before the hand. 2. After the hand it reveals the seed, and you recompute the fingerprint and the deck yourself.

Commitment: SHA-256 of the seed
9348a65a492c6a30068298a170078d3b6478ea6a8341eb8d967b7bc377073f89

Press Verify to recompute the hash and the deck from the seed.

Deck order from the hash (first card is on top)
  1. Q♣
  2. 2♦
  3. J♦
  4. A♠
  5. 6♣
  6. 8♣
  7. 7♥
  8. 5♣
  9. 9♣
  10. 5♥
  11. 2♠
  12. 4♦
  13. 6♥
  14. Q♥
  15. J♠
  16. 4♠
  17. 4♣
  18. 4♥
  19. A♥
  20. J♥
  21. 5♠
  22. 10♦
  23. 3♦
  24. K♠
  25. 8♥
  26. 3♠
  27. 9♠
  28. 10♠
  29. 10♣
  30. Q♦
  31. 6♦
  32. 7♣
  33. 7♠
  34. 9♥
  35. K♦
  36. K♥
  37. 3♣
  38. A♦
  39. 9♦
  40. 8♠
  41. K♣
  42. Q♠
  43. 2♥
  44. 2♣
  45. J♣
  46. 8♦
  47. 5♦
  48. A♣
  49. 7♦
  50. 3♥
  51. 6♠
  52. 10♥

Same seed, same hash, same order, every time. Change one character and the whole order changes. That is what lets you check a hand afterwards.

03 · Provably fair

Provably fair and the blockchain

The method borrows the tool that secures bitcoin blocks: a hash that is easy to check and practically impossible to reverse.

Some designs mix in a value nobody controls in advance, such as the hash of a future bitcoin block. Blocks arrive about every 10 minutes on average and their hashes are public, so a shuffle can wait for the next block and use its hash as a seed nobody could predict.

At a fast poker table that wait is long, so designs for poker lean on player seeds and keep block hashes for slower games such as draws and lotteries.

Stage 1 of 4

Commit

The room publishes the hash of its secret seed before the deal.

Stage 2 of 4

Combine

Player seeds and a hand number are mixed with the room's seed.

Stage 3 of 4

Shuffle

A published algorithm turns the combined seed into one deck order.

Stage 4 of 4

Reveal and check

After the hand the room shows its seed, and anyone can rebuild the deck and compare.

1 / 4

04 · Provably fair

Four questions to ask about a provably fair claim

A badge in the lobby proves nothing by itself. These questions show whether the check is real.

Without the code or an exact description, nobody outside the room can recompute the deck.

If only the room's seed counts, the hash proves the deck was fixed early, not that it was fair.

A verifier you can run, or code you can read, is worth more than a logo.

Collusion, bots and payouts sit outside the shuffle check, so look for separate answers to those.

A licence, a security audit and a seed check answer three different questions. A careful player looks for an answer to each before depositing.

Worth knowing

CoinWiki · A to Z

Terms next to provably fair

Five entries on trust, identity and the chain.

All CoinWiki terms
Are bitcoins safe
Custody, scams and what a crypto poker player can control.
Bitcoin wallets
Where your coins sit when no room is holding them.
Confirmations
Blocks on top of a transaction, the chain's own way of making a record final.
KYC
Identity checks a room runs; a separate question from whether its shuffle is fair.
Network fees
The price of a place in the next block, paid in sat/vB.

FAQ · Provably fair

Questions about provably fair poker

What does provably fair mean?

It means the result of a game can be checked by the player after it happens, using values the operator committed to in advance. In poker, the result being checked is the order of the deck. It does not say the game favours nobody; house edge and rake still apply.

Is provably fair poker common?

Less common than in crypto casino games such as dice. Many poker rooms rely on random number generators tested by outside labs and describe that on their fairness pages.

Can a provably fair shuffle be rigged?

The shuffle can be checked, so a changed deck would show. Problems outside the shuffle, such as collusion or a room refusing payouts, are not covered by the check. A room that changes the deck after the commitment would be caught by any player who checks.

Do I need to be technical to check a hand?

Not if the room offers a verifier: you paste the seeds and compare the deck. To be fully sure, run the published code yourself or ask someone who can read it. Most verifiers need only the seeds, the hand number and the published algorithm.

How is this different from an RNG certificate?

A certificate says a testing lab examined the random number generator at some point. A provably fair check lets you test each hand yourself, long after the lab has gone home.

Does provably fair make a room trustworthy?

It makes one part of the game checkable. Whether a room pays withdrawals, protects accounts and stops collusion has to be judged on other evidence.

CoinWiki boardEvery term, A to Z