I’m trying to send a user’s score to an online highscore list (playfab) and want some minimal anti-cheat system in place. Perhaps this is a bad method but I planned to hash the score like the following and let the server do the same hashing to confirm the score.
score = "1000" score = score .. "some salt" hashed = hash(score) hex = hash_to_hex(hashed) -- send score and hex to the server
What kind of hashing (if “kind” is the correct term) is done in defold? I would like to perform the same hashing in javascript on the server side to see if it produces the same hex.
Thank you!