There are existing crypto algos for “coin flipping”. You should be using one of those. See https://en.wikipedia.org/wiki/Commitment_scheme#Coin_flipping
There are existing crypto algos for “coin flipping”. You should be using one of those. See https://en.wikipedia.org/wiki/Commitment_scheme#Coin_flipping