PyHashSum is a powerful yet intuitive graphical tool designed to simplify the process of calculating and verifying checksums using various algorithms such as MD5, SHA-1, SHA-256, and SHA-512. With its clean and modern interface, the utility supports drag-and-drop functionality, copying checksum results to the clipboard, and saving results to text or JSON files. Additionally, it allows for folder scanning, making it ideal for batch processing multiple files.
Whether you're verifying file integrity, managing large datasets, or ensuring data security, PyHashSum has you covered!
- Drag-and-Drop Support: Simply drag files into the application to calculate their checksums.
- Multiple Hash Algorithms: Supports MD5, SHA-1, SHA-256, and SHA-512 hash algorithms.
- Copy to Clipboard: Quickly copy any checksum result to the clipboard for easy sharing.
- Save Results: Save generated checksum results to text, JSON, or CSV files for record-keeping.
- Verify Hashes: Easily verify the integrity of files by comparing the generated hash with a provided hash.
- Folder Scanning: Scan entire folders (including subfolders) to calculate and display checksums for multiple files at once.
- Save Folder Results: Save the results of folder scans as CSV, JSON, or text files for easy documentation and further analysis.
Generating checksums for a single file.
Scanning a folder and generating checksums for all files.
Saving results to a file for future reference.
pip install pyhashsum
Alternatively, you can download the pre-build executable from GitHub Releases.
Run the application from the command line:
pyhashsum
If you'd like to contribute or modify the source code, follow these steps:
-
Clone the repository:
git clone https://github.com/oop7/pyhashsum.git
-
Navigate to the project directory:
cd pyhashsum
-
Run the application:
python main.py
The package is available on PyPI:
- Open File: Click the "Browse" button to select a file, or drag and drop the file into the designated area.
- Generate Checksums: The tool will automatically calculate and display the MD5, SHA-1, SHA-256, and SHA-512 checksums.
- Copy Checksums: Use the "Copy" buttons to quickly copy any checksum to the clipboard.
- Save Results: Click the "Save Report" button to save the checksum results to a text or JSON file.
- Verify Hash: Enter a hash in the "Hash" field and click "Verify" to compare it against the calculated checksum.
- Select Folder: Click the "Browse Folder" button to choose the folder you want to scan.
- Options: Opt to include subfolders and hidden files if necessary.
- Scan Folder: The utility will scan the selected folder and compute the checksums for all files within.
- View Results: The results are displayed in a table, showing file names, paths, and their corresponding checksums.
- Save Folder Results: Click "Save Folder Results" to save the scan results as CSV, JSON, or text files.
This project is licensed under the MIT License. See the LICENSE file for more details.
We welcome contributions from the community! If you'd like to contribute, feel free to:
- Open an issue to report bugs or suggest features.
- Submit a pull request with improvements or bug fixes.