inicasino.netContents

About this site

About this site, its methods and its test vectors

This page says who is behind the site, how the text is sourced and how the tools are tested. The test vectors are listed in full so that anyone can reproduce them.

Diagram that pairs each item with its counterpart. Test vector V1 as published on this page: the inputs, and the result every tool has to reproduce: Server seed; Client seed; Nonce; Rule; Result.
Test vector V1 as published on this page: the inputs, and the result every tool has to reproduce.

Who publishes this site

This site is published by the team behind FAIRDRUM (fairdrum.to), a set of games played for SOL on a Solana smart contract. FAIRDRUM has no gambling licence and no independent audit yet.

We therefore have an interest in readers understanding verification, and on-chain verification in particular. Read the site with that in mind. No page reviews, rates or recommends any product, and that includes ours. The site takes no bets, shows no advertising other than the labelled card for our own project, and carries no affiliate links.

In this language version the site carries advertising for FAIRDRUM, a project of the same publisher: a labelled card with a link, on the pages. It is marked as an advertisement wherever it appears.

How the pages are sourced

  • Statements about test laboratories, standards and regulators come from the body's own pages. Each is linked under Sources with the date we read it. There is one exception: the page about RNG certificates describes a single certificate from a laboratory's site without linking it, because the document names a company.
  • Where we could not confirm a statement from such a page, we left it out.
  • Quotations are short and exact. Everything else is our own wording.
  • No operator, wallet, exchange or explorer is named.
  • Pages are written by the site's editorial team. There are no guest authors, sponsored texts or reader accounts.
  • Each page shows the date it was last changed.

How the tools are built and tested

Outline of a record: core.js; Provably fair verifier; Seed hash checker; Hash to number, modulo bias; Commit-reveal explained.
How the tools are built and tested

All four tools share one file of routines. Hashing is done by the browser through the Web Cryptography interface. The file contains no hash code of its own and makes no network request. The same file is loaded by the test suite, so the code that is tested is the code that runs on the pages.

  • HMAC-SHA-256 is checked against test cases 1 and 2 of RFC 4231, and SHA-256 against the known answer for the input abc.
  • The seed scheme is checked against seven vectors that a separate script computes with the crypto module of Node.js. The script shares no code with the tools.
  • The counts in the modulo-bias table are checked against a count over every 8-bit and 16-bit input.
  • Rejection sampling is checked by enumeration to give every outcome the same number of accepted inputs.
  • The formula for the value of refusing to reveal is checked by enumerating every sequence of outcomes.
  • The four sets of commands on the page about verifying by hand are executed by the test suite and must print the values of vector V1.
  • Each tool form is submitted in a browser with scripts switched off, and the test fails if anything typed reaches the server.
  • The built pages are checked for external requests. The only outside addresses allowed are source links and, in the language versions that carry it, one labelled link to an article by the publisher.

Test vectors

The scheme is defined on the verifier page. Seeds in these vectors are public test values and must not be used for anything else. V3 starts at byte 30, so its four bytes are the last two of round 0 and the first two of round 1. V4 reads the key as hex. V5 and V7 each contain one skipped read.

HMAC-SHA-256 known answers from RFC 4231, reproduced by Node and by the browser code
CaseKey (hex)Data (hex)HMAC-SHA-256 (hex)
RFC 4231 test case 10b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b4869205468657265b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7
RFC 4231 test case 24a6566657768617420646f2079612077616e7420666f72206e6f7468696e673f5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843
SHA-256 known answers
Input textSHA-256 (hex)
abcba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
reference-test-server-seed-00019088b0a58305a44b0ec72f1af9ef3e2e4927d17a516fdbf805707fdebdf69107
Known answers for the seed scheme. Each row is recomputed by the test suite through the browser code and compared with this table.
VectorServer seedKey readingClient seedNonceCursorRuleNReadResult
V1reference-test-server-seed-0001textreference-client00float10000fd3f9c65 = 42488044539892
V2reference-test-server-seed-0001textreference-client10mod37442e3d0e = 11438809740
V3reference-test-server-seed-0001textreference-client730float521d28d511 = 4892152495
V4000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1fhexreference-client00float100001089ee33 = 277474867646
V5reference-test-server-seed-0001textreference-client00reject3000000000fd3f9c65 = 4248804453 (skipped)
2643592c = 641947948
641947948
V6reference-test-server-seed-0001textreference-client00hex510000fd3f9 = 1037305 (skipped)
c6526 = 812326
2326
V7reference-test-server-seed-0001textreference-client00hex510000fd3f9 = 1037305 (skipped)
c6526 = 812326
2326
The HMAC-SHA256 digests behind the vectors
VectorMessageHMAC-SHA-256 (hex)
V1reference-client:0:0fd3f9c652643592c1de6a9a56228cc866eda7f2d26d95c2ee38e1d1e5d3378a3
V2reference-client:1:0442e3d0e70bf5ff7f79ea1376109b3807ad1191a1c6f8a0fa13a7e4c8d115bae
V3reference-client:7:083eb6cad47b8d4720e41aa4c65d3032c5053c6483d0971a09a1cea82cc641d28
V3reference-client:7:1d511e4405deb495c4b734753f0b302e2134920eba812ca837078841738b6e266
V4reference-client:0:01089ee336d175cbc681e9da48ac319e74c2f8637cc60372608a089f1c66b866f
V5reference-client:0:0fd3f9c652643592c1de6a9a56228cc866eda7f2d26d95c2ee38e1d1e5d3378a3
V6reference-client:0:0fd3f9c652643592c1de6a9a56228cc866eda7f2d26d95c2ee38e1d1e5d3378a3
V7reference-client:0:0fd3f9c652643592c1de6a9a56228cc866eda7f2d26d95c2ee38e1d1e5d3378a3
Known answer for the commit-reveal walk-through
ItemValue
Player's secretplayer secret 0001
Player's commitment62053a03a7161d7d59c2c559a2fb2feb2f69d080352cb64338c11578a841919f
House's secrethouse secret 0001
House's commitmenteefa823197117acaa329323f9e7541035f38d750ce34d4970e2bfc6bf3c4154d
SHA-256 of both secrets joined3249712fc9ce2d0f0a7b352b7f2ebf19f0a01c1ff9a3c609cceb03ba6e2295ed
First four bytes as an integer3249712f = 843673903
Die face2

To reproduce V1 without this site, run any of the command sets on the page about verifying by hand. To see the conversion of its first four bytes step by step, open the page on turning a hash into a number. Reading an on-chain record is a separate skill, covered on the page about Solana transactions.

What the tools do not do

They implement the scheme stated on each page and no operator's private variant. They cannot tell you whether a hash was shown before a bet, since only your own record can. They say nothing about odds, payment or licensing. What the site stores in your browser is described on the privacy page.

Where to find help with gambling

This site prints no telephone numbers, because they differ by country and change. These are the kinds of help that exist in most countries.

  • A doctor. A general practitioner can advise you or refer you on.
  • A national or regional problem-gambling helpline. The health ministry or the gambling regulator of your country publishes the number and the opening hours on its own website.
  • Self-exclusion. Where gambling is licensed, look on the regulator's website for how to block yourself from operators and whether a national register exists.
  • Debt advice from a public or charitable service, if money is already owed.
  • Someone you know. Telling one person is often the first step that makes the others possible.

Change log

  • 23 November 2026. First publication, in English. Revised the same day after an outside review: conditions added to statements about what a verified round shows, the verifier now reports which reading of a seed matches a saved hash, corrections to the Solana page.
  • 23 November 2026. Spanish, Brazilian Portuguese and Polish versions added. Small corrections to the English source at the same time: the answer on upper and lower case in hashes, and three figures on the modulo-bias page that are now computed by the build.
  • 30 November 2026. Ten pages on common questions about crypto casinos added, in English for now, with a demo of a crash hash chain. Six sources added, all read on that day.
  • 30 November 2026, later the same day. The ten pages on crypto casino questions were published in Spanish, Brazilian Portuguese and Polish. Several statements that had no source were weakened or removed, and one quotation from bitcoin.org was made exact.
  • 30 November 2026. The site moved to the address inicasino.net. The published test vectors were recomputed with new seed texts, so every value in the vector tables changed. The scheme and the tools did not change.
  • 30 November 2026. Every page received two figures drawn for it, with alt texts and captions in each language, and the site received a full set of icons. In the language versions that carry it, the home page now has one labelled card that links to the publisher's own project.
  • 30 November 2026. Fifteen pages were expanded: the ten pages about crypto casino questions and the pages on the verifier, on seeds, on what provably fair leaves open, on the comparison with certified RNGs and on RNG testing. Each gained a short answer, key facts, worked examples computed by the build, a glossary and more questions. The site now carries a labelled advertisement card for the publisher's own project on its pages, except the privacy page, and says so in the footer. Figures gained a second drawing for phones.

Sources

How we checked: statements about a named body link to that body's own page and carry the date we read it. Numbers in worked examples are computed by the site's build from the formulas shown, with routines covered by its test suite.