All rolls on GoDota2.com are generated using a provably fair system. This means the operators cannot manipulate the outcome of any roll. Players may replicate any past roll using the below code:
$server_seed = "6c8932c27fcb90be2a8ab24bc9bc39c6776fc3704d57915d8fad2b710262d6cf";
$day = "20190405";
$round_id = "1";
$hash = hash("sha256", $server_seed . "-" . $day . "-" . $round_id);
$roll = hexdec(substr($hash, 0, 8)) % 15;
echo "Round $round_id = $roll";
Dice game:
$server_seed = "6c8932c27fcb90be2a8ab24bc9bc39c6776fc3704d57915d8fad2b710262d6cf";
$day = "20190405";
$round_id = "1";
$hash = hash("sha256", $server_seed . "-" . $day . "-" . $round_id);
$dice_1 = hexdec(substr($hash, 8, 8)) % 6 + 1;
$dice_2 = hexdec(substr($hash, 16, 8)) % 6 + 1;
$dice_3 = hexdec(substr($hash, 24, 8)) % 6 + 1;
echo "Round $round_id = [$dice_1,$dice_2,$dice_3]";
You can execute PHP code straight from your web browser with tools like
PHP Tester or
Online PHP. Simply copy-paste the code into the window and replace the
$server_seed,
$day, and
$round_id values for your own. Execute the code to verify the roll.
For more information about provably fair visit our
FAQ page.