The app is live and can be accessed at: https://file-encrypto.streamlit.app/
This Streamlit-based web application provides a simple and secure way to encrypt and decrypt files. It uses the Fernet symmetric encryption scheme from the cryptography library to ensure the confidentiality of your files.
- File encryption: Upload any file and encrypt it with a secure key
- File decryption: Decrypt previously encrypted files using the correct key
- Key generation: Automatically generate secure encryption keys
- Supports various file types: .docx, .doc, .pdf, .txt, and more
- User-friendly interface: Easy-to-use tabs for encryption and decryption
- Navigate to the "Encrypt" tab
- Upload the file you want to encrypt
- Enter an encryption key or leave it blank to generate one automatically
- Click the "Encrypt" button
- Download the encrypted file
- Navigate to the "Decrypt" tab
- Upload the encrypted file
- Enter the correct decryption key
- Click the "Decrypt" button
- Download the decrypted file
To run this app locally, follow these steps:
-
Clone the repository:
git clone https://github.com/xueba-gh/Encrypto cd Encrypto
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run encrypto.py
-
Open your web browser and go to
http://localhost:8501
- streamlit
- cryptography
- Keep your encryption key secure. Without the correct key, encrypted files cannot be decrypted.
- This app uses client-side encryption. Your files and keys are not stored on any server.
- For highly sensitive data, consider additional security measures.
Contributions to improve the app are welcome. @Xueba