i dont know what you have available but this is what i use Purple Token. that's base64 and sha256 and worth a look? meanwhile, i dont think i've had anyone bother to cheat on my leaderboards but did chat with the api developer to get that encryption in place :)