Check a hand
Paste a hand from the app, then tap Verify. Your browser does the check. Nothing you paste gets sent anywhere.
How the check works
Before the first card, the app locks in the deck by writing down a code that only that deck's secret key can match. After the hand, it shows the key. This page uses the key to rebuild the deck with its own code and then checks the code and every card.
The technical version
SHA-256 of the key's 32 bytes has to equal the fingerprint. Then each block of numbers is HMAC-SHA256 of suitedfours deck v1|seed|hand number|block under the key, read as eight 32-bit numbers. The fresh deck (spades 2 to ace, then hearts, diamonds, clubs) is shuffled from the last card down: for each place, a number below the largest multiple of the places left picks the card to swap in, and anything above it is thrown away so no card is favoured. The engine deals from the end of that deck, so the order dealt is that deck backwards.
This page uses your browser's Web Crypto for SHA-256 and HMAC, separate from the code the app deals with.