This python script encrypts/decrypts your passwords saved in a .txt format using a password. It uses AES128(Fernet) for encryption.
- Creates a folder called "encrypted passwords" with the encrypted content.
- Prevents rainbow tables attacks with salting.
- Only accepts ASCII characters for now.
Receives the parameters encrypt or decrypt, and following the file. When decrypting the salt file can be specified as the last parameter. The salt is saved in the encrypted_passwords folder.
python3 main.py encrypt mypasswords.txt
python3 main.py decrypt mypasswords
Specify salt
python3 main.py decrypt mypasswords salt