How validation works
We have made the validation process quite simple, you have two options:
- Validate a single spin by manually filling the form on the left.
- Validate the entire game by uploading a JSON file with the complete spin history. The file can be downloaded on the main page.
Examples (for validation types)
Here are some examples, for both type of validations, manual or file based:
Which should yield a total won amount of 35 coins. Try it and see the result yourself
And here is an example game file with spins, just download it and select the upload button on the upper right of the page.Example valid game file And just for fun, the same intentionally invalidated game file
Explanation of the spin process
If the schematic is somewhat unclear the process is as follows:
- The server generates a secret * and a salt * .
- The salt is appended to the secret and the result is hashed using SHA-512 and shown to the user.
- The user can now enter a custom seed as a hexadecimal number (we recommend you do that), otherwise we generate a random seed.
- The user chooses the spin parameters such as lines and coins and starts the spin.
- The user seed is appended to the server secret and hashed with SHA-512 to deliver the final result.
- The result is parsed and revealed to the user along with the server secret and salt.
- The result can be validated now with the data provided. For example, if we change even a bit in the secret, then the hash will not validate. Same goes for not using the client's seed - the result will not verify either. Reverse engineering the hash is considered impractical.
Hash: SHA-512 hash of the salt and appended secret.
Secret: this is a hexadecimal string used one time (nonce).
Salt: again, a hexadecimal string used one time (nonce).
Seed: a user provided hexadecimal string.
The validation process in few words
Before each spin we are providing you the hex presentation of the secret mixed with the salt and then hashed. That being said, you are free to record this (we do this also) and after that, once the spin is completed, we'll provide the secret, the salt along with the seed you entered (or trusted us generating).