🔧 Hash Forge

Professional hash generator and verifier built with Rust

Multiple cryptographic algorithms, dual CLI/GUI interfaces, and enterprise-grade security. Perfect for developers, security professionals, and anyone who needs reliable hash generation.

Rust Version MIT License Cross Platform
Hash Forge CLI
$ hash-forge text --input "Hello, World!" --algorithm sha256
🔧 Hash Forge - Text Hashing
Input: Hello, World!
Algorithm: SHA-256
Hash (hex): dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f
$ hash-forge verify --text "Hello, World!" --algorithm sha256 --expected-hash dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f
✅ Hash verification PASSED

✨ Features

🔐

Multiple Algorithms

SHA-256/512, BLAKE2/3, MD5, SHA-1, Argon2, bcrypt, scrypt - all the algorithms you need

📱

Dual Interface

Professional CLI for automation and scripts, intuitive GUI for interactive use

High Performance

Rust implementation with progress tracking and optimized algorithms for maximum speed

🔍

Hash Verification

Compare computed hashes against expected values with constant-time comparisons

📁

Batch Processing

Process entire directories and generate checksums for multiple files at once

🛡️

Security Focused

Constant-time comparisons, secure salt generation, and memory safety guarantees

🎨

User Friendly

Real-time GUI updates, file drag & drop, and copy-to-clipboard functionality

🌍

Cross-Platform

Works seamlessly on macOS, Linux, and Windows with native performance

🔐 Supported Algorithms

Fast Hash Algorithms

Perfect for file integrity and general purpose hashing

  • BLAKE3 - Modern, fastest performance ⭐
  • SHA-256 - General purpose, widely supported
  • SHA-512 - High security, larger output
  • SHA3-256 - Modern Keccak-based alternative 🆕
  • SHA3-512 - High security SHA-3 standard 🆕
  • SHAKE128/256 - Extendable output functions 🆕
  • BLAKE2b/2s - High performance alternatives
  • xxHash3 - Ultra-fast non-cryptographic 🆕
  • SHA-1 - Legacy compatibility
  • MD5 - Legacy compatibility

Password Hash Algorithms

Slow by design, perfect for password security

  • Argon2 - Modern, memory-hard ⭐
  • bcrypt - Widely supported, moderate security
  • scrypt - Memory-hard, good security

HMAC Authentication 🆕

Keyed-hash message authentication codes

  • HMAC-SHA256 - Most common, highly secure
  • HMAC-SHA3-256 - Modern Keccak-based
  • HMAC-SHA512 - Maximum security
  • HMAC-SHA1 - Legacy compatibility

⚡ Performance Comparison

Algorithm Speed Security Use Case
BLAKE3 ~3 GB/s High File integrity, high performance
xxHash3 ~10 GB/s Non-crypto Ultra-fast checksums, non-security
SHA3-256 ~800 MB/s High Modern alternative to SHA-256
SHA-256 ~1.5 GB/s High General purpose, compatibility
SHAKE128 ~700 MB/s High Extendable output, flexible length
Argon2 Configurable Very High Password hashing (recommended)

📥 Download Hash Forge

Get the latest version for your platform

🍎

macOS

Universal binary for Intel and Apple Silicon

Download .dmg
🐧

Linux

Compatible with most distributions

Download .tar.gz
🪟

Windows

Windows 10/11 compatible

Download .zip

Alternative Installation Methods

🍺 Homebrew (macOS/Linux)

brew tap fra2404/hash-forge
brew install hash-forge
Coming Soon

📦 Cargo (Rust)

cargo install hash-forge
Coming Soon

🔧 From Source

git clone https://github.com/fra2404/hash-forge.git
cd hash-forge
cargo build --release
Available Now

💻 Usage Examples

Command Line Interface

Text Hashing

# Basic SHA-256 hashing
hash-forge text --input "Hello, World!" --algorithm sha256

# Modern SHA3-256 hashing 🆕
hash-forge text -i "Hello, World!" -a sha3-256

# SHAKE128 with extendable output 🆕
hash-forge text -i "Hello, World!" -a shake128

# BLAKE3 with base64 output
hash-forge text -i "Hello, World!" -a blake3 -f base64

# Ultra-fast xxHash3 for checksums 🆕
hash-forge text -i "Hello, World!" -a xxh3

# Password hashing with Argon2
hash-forge text -i "mypassword" -a argon2 --salt "customsalt"

File Hashing

# Hash a document
hash-forge file --path document.pdf --algorithm sha256

# High-speed hashing with BLAKE3
hash-forge file -p largefile.zip -a blake3

# Batch process directory
hash-forge batch --directory ./documents -a sha256

Hash Verification

# Verify text hash
hash-forge verify --text "Hello, World!" \
--algorithm sha256 \
--expected-hash dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f

# Verify file integrity
hash-forge verify --file document.pdf \
--algorithm sha256 \
--expected-hash expected_hash_here

HMAC Authentication 🆕

# Compute HMAC
hash-forge hmac --text "Secret message" \
--key "my_secret_key" --algorithm sha256

# Verify HMAC
hash-forge verify-hmac --text "Secret message" \
--key "my_secret_key" \
--expected-hmac computed_hmac_here \
--algorithm sha256

# HMAC with SHA3-256
hash-forge hmac --file sensitive.json \
--key "api_key" --algorithm sha3-256

Graphical User Interface 🎨

Enhanced GUI with Phase 1 Features! The graphical interface now supports all new algorithms and HMAC functionality with a modern, professional design.

� HMAC Authentication Mode

Dedicated HMAC interface with secure key input, algorithm compatibility checking, and verification functionality. Supports HMAC-SHA1, HMAC-SHA256, HMAC-SHA512, and HMAC-SHA3 variants.

📋 Algorithm Categories

Organized algorithm selection with filters: Modern (BLAKE3, SHA-3, xxHash3), Fast Hash, Password Hash, and Legacy. Visual indicators show recommended vs. legacy algorithms.

📝 Enhanced Text Input

Real-time hash computation with all 19 algorithms from Phase 1. Support for SHA-3, SHAKE, xxHash families with instant results and professional monospace display.

📄 Advanced File Processing

Drag & drop file support with comprehensive performance metrics including processing speed, file size, and computation time for optimal algorithm selection.

⚙️ Smart Algorithm Selection

Intelligent categorization with emoji indicators (⭐ recommended, 🔒 password hashing, ⚠️ legacy warnings) and detailed usage recommendations for each algorithm.

🔍 Dual Verification Modes

Separate verification interfaces for regular hash verification and HMAC authentication with clear success/failure indicators and color-coded results.

🎨 Professional Dark Theme

Modern dark interface with color-coded results, rich typography, responsive design, and enhanced visual hierarchy for professional use.

📊 Performance Analytics

Real-time performance metrics showing computation time, processing speed (MB/s), and file size with automatic speed calculations for file operations.

🚀 Launch Enhanced GUI

Start the enhanced graphical interface with all Phase 1 features:

hash-forge-gui

New in GUI: HMAC mode, SHA-3 family, SHAKE functions, xxHash variants, algorithm categories, enhanced UX, and professional dark theme.