Skip to content

Verify popular hash functions using this Python script designed for learning. Easily check and generate MD5, SHA-1, SHA-256, SHA-384, SHA-512, BLAKE2b, & BLAKE2s hashes with Hash Tools.

Notifications You must be signed in to change notification settings

Cayetano97/hashTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hash Tools

This versatile Python script, powered by the Tkinter library, provides a simple graphical interface to both verify whether a provided hash (MD5, SHA-1, SHA-256, SHA-384, SHA-512, BLAKE2b, or BLAKE2s) matches the content of a selected file and generate hashes for any file. This project was created with the purpose of learning Python.

Requirements

Usage

Use the Executable

  1. Download and Run the Executable:

    • Obtain the executable file (hashTools.exe) from your desired location and double-click to launch the application.
  2. Interact with the Graphical Interface:

    • The graphical interface is divided into two tabs: "Check Hash" and "Generate Hash."

      • Check Hash Tab:

        • Use the dropdown menu to choose the hash function.
        • Enter the hash to check in the provided field.
        • Click the "Select file to check hash" button to choose the file.
        • Click the "Check Hash" button to perform the verification.
      • Generate Hash Tab:

        • Select this tab if you want to generate a hash for any file.
        • Use the dropdown menu to choose the hash function.
        • Click the "Select file to generate hash" button to choose the file.
        • The generated hash will be displayed, and you can copy it to the clipboard using the "Copy Hash" button.

Use the Script

  1. Clone the repository to your local machine:
git clone https://github.com/Cayetano97/hashTools.git
  1. Navigate to the project directory:
cd hashTools
  1. Install the required dependencies using pip and the requirements.txt file:
pip install -r requirements.txt
  1. Run the script:
python hashTools.py

Warning

Exercise caution when handling files and providing hashes. Ensure a full understanding of the script's purpose and implications before use.

Verifying Hash using PowerShell (Windows)

To verify the hash of a file using PowerShell:

  1. Open PowerShell.

  2. Navigate to the directory where your file is located using the cd command.

  3. Use the Get-FileHash cmdlet to calculate the hash of the file:

    Get-FileHash -Algorithm SHA256 .\your_file.txt

    Replace your_file.txt with the actual name of your file.

Compare the displayed hash with the hash you want to verify. If they match, the file content is unchanged.

Verifying the executable

  • MD5

    270d53e0285817fb74e4ac1294219047
    
  • SHA-1

    2ba837628172bdef1a97fccff9509af133bb426f
    
  • SHA-256

    8d0d9a28014115f2358bbdb13d760f6b6cda478ae477fd8eade29fd431a08e54
    
  • SHA-384

    6f09ef37afd599b697bbec07c4b7e90c1a53138be8380468515cb021bce611c764c4b06ba27e517866da5c0ce6d1a85a
    
  • SHA-512

    4852cc98a27cdac1c67cbccab1167601ab840bb3bcfe9990f22da4c65e779404c0c8dd545a43c018feb8e05bdb91868e0ee96028ef02d053aefccf00cb0d5e8f
    
  • BLAKE2b

    69f12a0bee9bc63f3bb326015f560b0a1749f97e029ad64e636bcefc02b1181e1f5ef09837fe494d337d8bb606c94b9c7c6694ecaed207cb18ca4c2082c9ad0d
    
  • BLAKE2s

    a3b4d28ad16805c46fd045abfa37e1bf382081768a73b123c01794eb4eb3dc01
    

About

Verify popular hash functions using this Python script designed for learning. Easily check and generate MD5, SHA-1, SHA-256, SHA-384, SHA-512, BLAKE2b, & BLAKE2s hashes with Hash Tools.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages