gtkhash
GtkHash is a GTK+ utility for computing message digests and checksums. It supports hash functions including MD5, SHA1, SHA256, SHA512, and others.
Description
GtkHash provides a graphical interface for users to compute checksums and message digests of files or text using various hash algorithms. It is particularly useful for verifying file integrity by comparing computed hashes against known values. The tool integrates with file managers like Caja, Nemo, and Thunar through dedicated extensions, allowing context-menu based hashing directly within these environments.
Supported hash functions include MD5, MD6, SHA1, SHA256, SHA512, RIPEMD, TIGER, and WHIRLPOOL, leveraging libraries such as mhash, libgcrypt, libnettle, and libb2. This makes GtkHash suitable for data validation tasks in security workflows, such as confirming downloads or checking file authenticity during forensic analysis.
The core gtkhash package serves as the backend for both the standalone utility and the file manager extensions. Users can install the main package for command-line and GUI usage, or specific extensions for seamless integration with their preferred file manager.
How It Works
GtkHash computes cryptographic hash functions on files, URIs, or text input using libraries like libgcrypt20, libnettle8t64, libb2-1, and zlib1g. It supports verifying digests by comparing computed values against provided checksums or files containing them. The application operates via a GTK+ interface or command-line options, enabling specific hash algorithms and handling multiple inputs.
Installation
sudo apt install gtkhashFlags
Examples
gtkhash -hgtkhash --help-allgtkhash --help-gtkgtkhash -vgtkhash -c <DIGEST> <FILE>gtkhash -C <CHECKSUM_FILE> <FILE>gtkhash -f MD5 <FILE>gtkhash -t "sample text"