Skip to content

Instantly share code, notes, and snippets.

@shakna-israel
Created December 1, 2020 06:28
Show Gist options
  • Save shakna-israel/23d2135ca6f6e5b2b68ff775719854ac to your computer and use it in GitHub Desktop.
Save shakna-israel/23d2135ca6f6e5b2b68ff775719854ac to your computer and use it in GitHub Desktop.
# 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