Here comes the message

Verify Bet
#431,649,477 Won

Player djondoy123 Bet Amount 0.02122932 Predicition > 2326 Roll 7381 Profit +0.00615650 Payout 1.29 Date 2019-05-13 23:00:43

Client Seed

agXpD3bogc5FEVHA

Server Seed

84b5963d4d183e5639677b5f59a19f31839fb15f791e9bb8451249d2220254fcjXEnAZRXQN

Server Seed Hash

fbfd2b945990e6cb378d8672fa58c5a5e6104d10b7befd5f4bee9b24b0e7b67b

Result Seed

ccc514da679d58c392d83a18a88910197009a61eaac2321db58414813fc1b723931069bf78031dc64288064b90d689151c0fb4c34f2a74b5bddd3962ccb69793

Result Number

879479806567

Lucky Number

7381

PHP Code

<?php
$client_seed = "agXpD3bogc5FEVHA";
$server_seed = "84b5963d4d183e5639677b5f59a19f31839fb15f791e9bb8451249d2220254fcjXEnAZRXQN";

$result_seed = hash_hmac('sha512', $server_seed, $client_seed);
$result_number = hexdec(substr($result_seed,0,10));
$lucky_number = $result_number % 10001;

echo $lucky_number;
?>