rock paper scissors utilizing cryptographical apioids for security
bureaucrats in this forum: heavoid
subforæ
show subforæ
last activity ago
threads
please log in to create a new thread
sorting and filtering options
heavoid
create a thread containing the names of the 2 players
both opponents generate a 10-codepoint random string somehow.
it should be securely-ish generated.
their move (rock, paper or scissors) should be appended, with a space between
example: `0123456789 rock`
they take the sha256 hash of this string. they both post this.
once this has happened, they post their original strings. these must be verified to have the correct hash. once this has happened, the score is posted and the game