File_Hash_Verifier

πŸ” File Hash Verifier is a simple Python CLI tool that generates and verifies SHA256 (or other) hashes of files. It ensures file integrity by comparing computed hashes with known ones, helping detect tampering or corruption. Supports multiple algorithms and clean command-line usage.

πŸ”§ Features

πŸš€ How to Use

  1. Clone the repository: ```bash git clone krunal1703.github.io/File_Hash_Verifier/ cd file-hash-verifier

                     OR
    
  2. Calculate a file’s hash:

    ```bash python hashverifier.py example/testfile.txt

  3. you get has like {it is only for example}

     [INFO] SHA256 hash of testfile.txt:  
     e3b96d0dad8eb141a90bdc338c591a682a37600edba3bd9b0379e175e5eae95a
    
  4. Then Compare with saved hash:

     for example my hash file is like this: 
         echo "e3b96d0dad8eb141a90bdc338c591a682a37600edba3bd9b0379e175e5eae95a"
    

    I compare to my hash file vith test file:

     ```bash
     python hashverifier.py testfile.txt --compare e3b96d0dad8eb141a90bdc338c591a682a37600edba3bd9b0379e175e5eae95a