Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 975 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 975 Bytes

File Encryption and Hashing with Flask

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.

Prerequisites

  • Python 3.7 or higher

Installation

git clone https://github.com/eugenekuloba/cryptography
cd cryptography
pip install -r requirements.txt

Usage

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.

Debugging

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)