@extends('frontend.layouts.main') @section('title') {{ __('Game') }} {{ $game->id }} :: {{ __('Provably fair verification') }} @endsection @section('content')
{{ __('Randomly generated by the server before each game.') }}
{{ __('Randomly generated by the server before each game.') }}
{{ __('HMAC SHA256 hash of the server secret with server seed as the key, revealed before each game.') }} {{ __('Calculated as hash_hmac("sha256", ":secret", ":seed")', ['secret' => $game->secret, 'seed' => $game->server_seed]) }}
{{ __('A random string supplied by the user before each game.') }}
{{ __('HMAC SHA256 hash of the server secret and server seed with client seed as the key.') }} {{ __('Calculated as hash_hmac("sha256", ":secret:server_seed", ":client_seed")', ['secret' => $game->secret, 'server_seed' => $game->server_seed, 'client_seed' => $game->client_seed]) }}
{{ __('Last 5 chars of the Client hash are converted to a decimal value.') }} {{ __('Calculated as hexdec(":v")', ['v' => substr($game->client_hash,-5)]) }}
@include($game_package_id . '::frontend.pages.verify')
{{ __('Back to my games') }}
@include($game_package_id . '::frontend.pages.verify-description')
@endsection