Yolodice Verifier

Home » Yolodice Verifier

Yolodice is Provablyfair. All roll results are generated using a deterministic, pseudo-random algorithm which:

yields high entropy results – which means the results cannot be predicted without knowing the state of the generator,
all subsequent results are determined by the initial state of the generator (“seed”).
The paradigm that is proven to be fair comes directly from the above:

For players, the results cannot be distinguished from random numbers.
At any time the player can “check” if the game is not cheating. This game reveals a random number seed generator so the player can verify whether all the results are OK.
The number generator is seeded not only by random values ​​generated on the server, but also by input from players. In this way the game cannot use previously generated seeds which will produce skewed results.
HMAC with the SHA512 hash function is used to produce roll results. It proves to produce results like random and is well suited to the “Proven fair” paradigm.

In detail – algorithm.
Each player has one active seed at a certain time. The seed determines all results returned by the number generator. Seed consists of a random KK generated by the server and the phrase provided by K_2 users. Phrases created by K_2K users
Can only be added to new seeds.

Each roll results are generated according to the following algorithm:

First, the results from the HMACHMAC function are being calculated:

s = \ textit {HMAC} _ {\ rm SHA512} (K, m) s = HMAC
(K, m)
where KK is a random 1024-bit key (per-seed) generated by the server and mm is the message that is generated as follows:

m = K_2 \ Vert. \ Vert nm = K
where is K_2K
Is a phrase given by a player and nn is a bet bet, i.e. a sequential bet number generated using the given seed. n = 1,2,3 \ ldotsn = 1,2,3 … If the user phrase is “foo bar” and 41 numbers have been generated with seed so far, then the nonce is 42 and the message to be signed is “foo bar.42”.

ss is a 512-bit size value. To map it to the range [0,999 \, 999] [0,999999] converted to hexadecimal format s_ {16} s
And the first 5 digits are taken (20 bits). If these numbers form integers in the required range, it is returned. If integers are greater than 999 \, 999999999, the next set of 5 digits (20 bits) is taken. Note that the maximum 5 digit number written in hex is \ mathrm {FFFFF} _ {16} = 1048575_ {10} FFFFF
= 1048575
. This procedure is repeated until the results are found.

s_ {16} s
Consists of 128 digits. In the unlikely event when no valid results are found in the first 25 sets, the last set of digits is taken consisting of 3 hex digits (12 bits) only. The probability of such an event is \ 1,447 \ mathrm {e} {- 33} ≈1,447e – 33.

In the following example s_ {16} s
Generated such that the first bit set produces integers outside the range. The second set of 5 digits (20 bits) must be used.

\ underbrace {\ mathrm {F564C}} _ ​​{1 \, 005 \, 132} \ underbrace {\ mathrm {D853D}} _ {886 \, 077} \ mathrm {01A8F} \ ldots


01A8F …
The above algorithm explains the generator function used in YOLOdice and maps:

G (K, K_2, n) \ rightarrow r \ in [0, 999 \, 999] G (K, K
, N) → r∈ [0.999999]
This Ruby code sample contains a reference implementation.

KK is always hidden for active seed, but H _ {\ rm SHA256} (K) H
(K) is displayed. After the player generates new active seeds, the KK is revealed and the player can verify all bets generated using KK and K_2K

Modern Bitcoin Casino & Sports betting platform. Enhanced privacy. Instant deposits & withdrawals. Provably fair slots & games. 130+ crypto currencies
ATM, Hashdice, Blackjack, Roulette and many other games are here based on provable fairness of the blockchain technology. Plus, not only having fun, you can be a banker. Join BC.Game now and Boost Cryptocurrencies here!
Innovative crypto gambling & trading platform. Win and trade Bitcoin and Ethereum. Provably fair games. 1000+ slots and live games. Instant withdrawals.
Bitsler offers casino games like dice and roulette with bitcoin, ethereum, ripple and 17 other cryptocurrencies. Win part of our $1000000+ yearly gambling
Best crypto dice game on the web: instant BTC deposits & withdrawals, a bunch of bonuses, highest faucets, live support, lossback available for HR.
WINDICE is the best dice game of cryptocurrency
Roobet, crypto's fastest growing casino. Hop on in, chat to others and play exciting games - Come and join the fun!
Bitcoin dice game established 2013. Provably fair. Lowest house edge. Instant deposits & withdrawals. Enhanced privacy. Register instantly & gamble Bitcoin

CryptoGames is a Bitcoin gambling site offering Dice, Blackjack, Roulette, Lottery, Poker, Plinko and Slot game to play also with Ethereum, Dogecoin & Litecoin.

RocketPot The fastest-growing crypto casino