This Flask-based web application allows users to check the integrity of any PDF document. It uses the SHA-256 hashing algorithm to calculate a unique hash for each uploaded document. Later, it can compare the calculated hash of the document with the stored hash to check if the document has been modified.
- User Authentication
- File Upload
- Hash Generation
- Integrity Check
- Python
- Flask
- hashlib
- os
- HTML
- CSS
- JavaScript
- Clone the repository: Clone this repository to your local machine using the command:
git clone https://github.com/anirudhaptiwari/Document-Integrity-Checker.git
- Navigate to the project directory:Use the command:
cd Document-Integrity-Checker
3.Install the dependencies: The project requires Flask and its dependencies. You can install them using pip:
pip install flask
- Run the application: You can run the application using the command:
python app.py
This will start the Flask development server.
- Access the application: Open web browser and navigate to
http://localhost:5000
This will take you to the login page of the application.
- Use the application: From the login page, you can log in to the application (the default username and password are both ‘admin’) Once logged in, you can choose to either generate a hash for a new document or check the integrity of an existing document.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.