Text Hash Generator
What is a Hash?
A hash is a fixed-size alphanumeric string generated from input data using a mathematical algorithm. Hash functions are one-way operations - you cannot reverse a hash to get the original data. They are commonly used for data integrity verification, API signature generation (HMAC), and digital signatures.
- One-Way: Cannot be reversed to original data
- Deterministic: Same input always produces same hash
- HMAC Mode: Keyed-hash message authentication for webhook signatures
- Compute All: Generate all algorithm outputs simultaneously with one click
- Privacy: Processed locally in browser, no data sent to server
Common Uses
- Webhook Verification: Sign or verify HMAC-SHA256 signatures for Stripe, GitHub, or Shopify
- Data Integrity: Verifying text or configuration strings haven't been tampered with
- Digital Signatures: Creating unique identifiers for messages
- Blockchain & Ethereum: Testing Keccak-256 / SHA-3 hashing
- Caching: Creating unique cache keys from content
Supported algorithms & capabilities
Supported algorithms & capabilities
- Comprehensive suite: MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA-3 (Keccak), and RIPEMD-160
- HMAC Signing: Generate keyed-hash message authentication codes with custom secret keys
- Compute All Hashes: Compare outputs across every supported algorithm side-by-side
- Real-time calculation: Hash updates instantly as you type
How to Use
- Select your preferred hashing algorithm (or toggle "Compute All Hashes")
- Optionally enable HMAC mode and enter your secret key
- Type or paste your text in the input field
- The hash or HMAC is generated automatically in real-time
- Click the copy icon to copy the hash to your clipboard
Glossary
- HMAC
- Hash-based Message Authentication Code - combines a cryptographic hash function with a secret key to verify data integrity and authenticate sender identity.
- SHA-256
- Part of the SHA-2 family - produces a 256-bit hash. Industry standard for cryptographic integrity and digital signatures.
- SHA-384 & SHA-512
- High-security members of the SHA-2 family producing 384-bit and 512-bit digests, often used in government and enterprise security systems.
- SHA-3
- The newest NIST secure hash standard based on the Keccak sponge construction, offering independent cryptographic design from SHA-2.
- MD5
- Message Digest Algorithm 5 - produces a 128-bit hash value. Fast for checksums and non-security cache keys, but deprecated for cryptographic security.
- SHA-1
- Secure Hash Algorithm 1 - produces a 160-bit hash. Phased out for security due to theoretical collision vulnerabilities.
- Collision
- When two different inputs produce the same hash output - a flaw present in broken hash functions like MD5.
Sources
- FIPS 180-4 — Secure Hash Standard (SHS) — NIST standard defining SHA-1/SHA-2