Last active
June 18, 2016 19:27
-
-
Save AFDudley/323b89227d1578a5978fb3c9b847ea0b to your computer and use it in GitHub Desktop.
Checks hash of http://pastebin.com/raw/CcGUBgDG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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