Last active
October 10, 2017 00:13
-
-
Save MattSegal/ace564384b6d60ea138e86fb1149f989 to your computer and use it in GitHub Desktop.
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
import hashlib | |
user_password = 'hunter12' | |
database_password = '6618f892842dcbc32f7968cc8f73b5b0065ec04e' | |
salt = '#&@#DH@HDHUUS' | |
user_password_hashed = hashlib.sha1(user_password + salt).hexdigest() | |
print(user_password_hashed == user_password_hashed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment