Skip to content

Instantly share code, notes, and snippets.

View eorituz's full-sized avatar

Oliver Bünting eorituz

  • Brainbot Technologies AG
View GitHub Profile
import collections
import random
import json
import hashlib
def hexhash(x):
return '0x' + hashlib.sha224(str(x).encode('ASCII', errors='backslashreplace')).hexdigest()[:6]