- Server should save a random bytestring
PS
(regenerated after each full match) for each player.PS
should be visible on game UI. - Server should publish a global 1024-bit (128 bytes) random bytestring
GS
(changed every X minutes). Current and nextGS
should be visible on game UI. - When a match starts, save timestamp
T1
. - When a round starts, save timestamp
T2
, and generate a random bytestringR
. Then, generate random seed for this round by calculating SHA512 hash of concatenation of following elements (||
denotes concatenation):
- T1
- T2
- R
- HMAC-SHA512(GS, T1 || T2 || R)