Python script for symmetric encryption using the cryptography library.
Open the terminal and install using pip
pip install cryptography
- Files to be encrypted are stored in the "files" directory.
- When
encrypt_file.py
is run, the files in the "files" directory are encrypted and saved to the "encrypted" directory. - When
decrypt_file.py
is run, the files in the "encrypted" directory are decrypted using the key generated in the main directory (mykey.key
) or a key provided by the user and saved to the "decrypted" directory.