Skip to content

Instantly share code, notes, and snippets.

@wulymammoth
Forked from gennad/randhash.py
Created September 28, 2018 14:34
Show Gist options
  • Save wulymammoth/67812e4a714f9c6af924f946bf49155f to your computer and use it in GitHub Desktop.
Save wulymammoth/67812e4a714f9c6af924f946bf49155f to your computer and use it in GitHub Desktop.
Generate random hashcode in Python
import random
random.seed()
hash = random.getrandbits(128)
print "hash value: %016x" % hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment