{"version":"hmac-sha256-fisher-yates-v1","canonicalDeck":{"suits":["clubs","diamonds","hearts","spades"],"ranks":["A","2","3","4","5","6","7","8","9","10","J","Q","K"]},"shuffle":{"method":"descending Fisher-Yates, i=51..1","key":"UTF-8 serverSeed (literal string)","message":"UTF-8 `${clientSeed}:${nonce}:${cursor}`","cursor":"starts at0; increments for every candidate including rejection","candidate":"first4 HMAC-SHA256 bytes as uint32 big-endian","rejection":"reject candidate >= 2^32 - (2^32 mod(i+1))","swap":"j=candidate mod(i+1)"},"commitment":"lowercase hex SHA-256 of UTF-8 serverSeed","entropyProtocol":"POST /api/fairness {action:rotate} publishes a fresh commitment before client entropy is sent; then POST /api/fairness/client-seed {seedPairId,serverSeedHash,clientSeed} updates only the current unused nonce0 pair without changing the commitment.","dealOrder":["player","dealer","player","dealer"],"dealer":"stand on all17","blackjackPayout":"floor(initialBetCents *5/2), including stake","actions":"actions[0] is deal; replay remaining hit/stand/double actions from startGame(deck,initialBetCents)","history":"GET /api/fairness?before=<nextCursor>; every page includes its referenced seed pairs; full deck and server seed become available after settlement and seed rotation."}