Skip to content

Instantly share code, notes, and snippets.

@AFDudley
Last active June 18, 2016 19:27
Show Gist options
  • Save AFDudley/323b89227d1578a5978fb3c9b847ea0b to your computer and use it in GitHub Desktop.
Save AFDudley/323b89227d1578a5978fb3c9b847ea0b to your computer and use it in GitHub Desktop.
# This is python2 code
import urllib
import sha3 # pip install pysha3
message = urllib.urlopen('http://pastebin.com/raw/CcGUBgDG').read()
clean = message.split('=====\r\n')[1].split('=====')[0].replace('\r\n', '\n').strip()
print sha3.sha3_256(clean).hexdigest()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment