androng Oct 13th, 2014 226 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Calculates SHA256 hash of a string
- import hashlib
- hashInput = '0.607561205055_@f&#@RTWVSg34tgeRY4ebntryk67U*YRegszbfgreke%@xfnZ'
- hash = hashlib.sha256(hashInput.encode())
- print "hashInput=" + hashInput
- print "hash=" + hash.hexdigest()
RAW Paste Data