Created
December 1, 2020 06:28
-
-
Save shakna-israel/23d2135ca6f6e5b2b68ff775719854ac 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
# https://www.reddit.com/r/thethirdcave/ | |
import secrets | |
import hashlib | |
quotes = [] | |
init_salt = "?".encode() | |
salt = init_salt | |
for quote in quotes: | |
key = quote.encode() | |
pass_payload = hashlib.pbkdf2_hmac('sha1', key, salt, 100000) | |
print(pass_payload.hex()) | |
salt = pass_payload[:16] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment