Tools and worked checks · 04 / 23
Server seed hash checker
A game that commits to a server seed shows you its SHA-256 hash first and the seed later. This page hashes the seed and tells you whether the two belong together.

Commitment checker
This tool runs in your browser with the Web Crypto API. It sends nothing over the network and works offline once the page has loaded. Never paste a wallet secret phrase or a private key here or into any verifier. No check on this site needs one.
Free of charge, no account. Runs in any current web browser.
The result appears here.
Why the hash comes first
The hash is a commitment. Once you hold a copy of it, the operator can no longer swap the seed for another one without your noticing, since the other one would have a different hash. The order is the whole point: a hash shown after the bet commits to nothing. The game's own history page is controlled by the operator, so the record that counts is the copy of the hash you saved yourself before you bet.
Text or bytes
A seed written as 64 hex digits can be hashed in two ways. One treats it as 64 characters of text. The other decodes it to the 32 bytes it stands for. The two give unrelated hashes, and an operator's documentation should say which one it uses. The checker computes both.
| Reading | SHA-256 |
|---|---|
000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f as text | 6c86c6aac5fb24bcf5d9939cb7d7d5645ce39418f449e03b262dd4fa14b4b92b |
| The same digits decoded to 32 bytes | 630dcd2966c4336691125448bbb25b4ff412a49c732db2c8abc1b8581bd710dd |
SHA-256 and HMAC-SHA256 are different operations

| Property | SHA-256 | HMAC-SHA256 |
|---|---|---|
| Inputs | One message | A key and a message |
| Used for | The commitment to the server seed | Deriving each result from the seeds and the nonce |
| Who can compute it | Anyone who has the message | Only someone who has the key |
| Output | 32 bytes | 32 bytes |
| Defined in | FIPS 180-4 | RFC 2104, with SHA-256 as the hash |
Putting a seed through an HMAC tool, or a seed and a nonce through a plain SHA-256 tool, gives a valid-looking value that matches nothing. This page does only the commitment. The provably fair verifier does both.
When the check fails
- White space. A space or line break copied with the seed is hashed with it. The checker reports a match that appears only after trimming.
- The wrong pair. The hash you saved may belong to an earlier or later seed pair than the seed you pasted.
- The reading. See the table above.
- A different commitment formula. Some schemes commit to the seed together with other data. The operator's documentation has to state the formula, and this page covers only plain SHA-256 of the seed.
- None of these. Then the revealed seed is not the committed one. Keep both values.
What a match does not show
A match shows that this seed has this hash. It does not show that the hash was displayed before your bet; only your own record shows that. It does not show that the seed was chosen at random, or that the operator could not foresee the other inputs of the result. And it does not show that results were derived from the seed by the stated rule, which is the job of the step-by-step check. The roles of the three inputs are explained on the page about seeds and the nonce, and commitments between two parties on the page about commit-reveal schemes.
Questions people ask
Is it a problem to paste a server seed into a web page?
A revealed server seed is public by design, so no. This page does not send it anywhere in any case, as the privacy page explains. A wallet secret phrase or private key is a different matter: never paste one into this page or any other checker.
Can two different seeds have the same SHA-256 hash?
In principle yes, since there are more possible inputs than outputs. No such pair for SHA-256 is publicly known, and no practical method for finding one has been published.
Does upper or lower case matter?
In the published hash, no. As hexadecimal digits AB and ab denote the same byte value, and the checker compares hashes without regard to case. The same holds for a seed that is read as hex. In a seed read as text, yes: AB and ab are different characters and give different hashes.
Sources
- FIPS 180-4, the NIST standard that specifies SHA-256. We link to the NIST publication page for the standard. The known answer for the input
abcin our test vectors is recomputed with Node on every build. Checked . - RFC 2104, HMAC: Keyed-Hashing for Message Authentication (IETF, February 1997). Defines HMAC as
H(K XOR opad, H(K XOR ipad, text))and says that keys longer than the hash block are hashed first. Checked . - Web Cryptography API (W3C Recommendation, 26 January 2017). The browser interface (
crypto.subtle.digest,importKey,sign) that the tools on this site call. A Level 2 revision exists as a working draft; we cite the Recommendation. Checked .
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.