Sync randomness between client and server