Uses Python's nltk to encrypt, decrypt and crack messages
-
encrypt():
- arguments: phrase, key
- return: encrypted message
-
decrypt():
- arguments: phrase, key
- return: decrypted message
-
crack():
- arguments: phrase
- return: decrypted message
Usage:
git clone repo to local
start virtual environment
source .venv/bin/activate
can edit the phrases to encrypt, decrypt and crack
phrase = 'apple'
print(encrypt('apple', 1))
print(decrypt('bqqmf', 10))
print(crack('bqqmf'))
run script
python3 -m web_scraper.scraper