Skip to content

Instantly share code, notes, and snippets.

@pyGuru123
Last active September 23, 2024 02:58
Show Gist options
  • Save pyGuru123/966985789f5f62484076d7336cf2a6b3 to your computer and use it in GitHub Desktop.
Save pyGuru123/966985789f5f62484076d7336cf2a6b3 to your computer and use it in GitHub Desktop.
checksum for gamee - telegram
import hashlib
def generate_md5_checksum(score, time, url, state, uuid):
print(checksum_string := f"{score}:{time}:{url}:{state}:{uuid}:crmjbjm3lczhlgnek9uaxz2l9svlfjw14npauhen")
md5_checksum = hashlib.md5(checksum_string.encode()).hexdigest()
return md5_checksum
score = 200
time = 120
url = "/game-bot/OmRJ0j4lO-6008242bfea3e1da772dc67affea7ee77a76b402" # different for each game on gamee
state = ""
uuid = "your_uuid_here"
print(generate_md5_checksum(score, time, url, state, uuid))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment