This is a Flask web application that provides file encryption and hashing functionalities. It uses the cryptography and hashlib libraries for encryption and hashing, respectively.
- Python 3.7 or higher
git clone https://github.com/eugenekuloba/cryptography
cd cryptography
pip install -r requirements.txt
Start the Flask server:
python app.py
- Open a web browser and go to http://localhost:5000/
- Select the file that you want to encrypt or hash, and click the appropriate button.
- The encrypted or hashed file will be saved in the uploads directory.
If you encounter any errors, you can enable debug mode by setting the debug flag to True in the app.run() method:
if __name__ == '__main__':
app.run(debug=True)