Created
February 12, 2016 04:47
-
-
Save AndyNovo/3aa91551b9bea39bb5c0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import hashlib | |
def superHash(secret, salt, iterations): | |
result = "0" | |
for i in range(iterations): | |
result = hashlib.sha256(result + secret + salt).hexdigest() | |
return result | |
print superHash("pass123","saltybananas", 1234567) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment