#

Hash Generator

Generate cryptographic hashes from text or files. Supports SHA-1, SHA-256, SHA-384 and SHA-512. Runs locally — nothing is sent to any server.

ℹ️ How to use
  1. Text mode: Type or paste text — all hashes update instantly
  2. File mode: Drop any file to get its cryptographic hash
  3. HMAC mode: Add a secret key for keyed-hash authentication
  4. Copy any hash with one click

ℹ️ MD5 is not available via Web Crypto API. Use SHA-256 or higher for security purposes.

📋 Hash Comparison

🔗 Related Tools

-FAQ

❓ Frequently Asked Questions

What is a cryptographic hash?

A cryptographic hash is a fixed-size string of characters generated from input data using a mathematical algorithm. The same input always produces the same hash, but even a tiny change in input produces a completely different hash. Hashes are one-way — you cannot reverse them to get the original data.

What is SHA-256 used for?

SHA-256 (Secure Hash Algorithm 256-bit) is used for verifying file integrity, storing passwords securely, digital signatures, blockchain (Bitcoin uses SHA-256), and TLS/SSL certificates. It is currently the most widely used cryptographic hash.

What is the difference between SHA-1, SHA-256 and SHA-512?

SHA-1 produces a 160-bit hash and is no longer considered secure for cryptographic purposes. SHA-256 produces a 256-bit hash and is the current standard. SHA-512 produces a 512-bit hash and is more secure but slightly slower. All three are supported by this tool.

What is HMAC?

HMAC (Hash-based Message Authentication Code) combines a hash function with a secret key to produce a message authentication code. It verifies both data integrity and authenticity. Toggle HMAC mode in this tool and enter your secret key.

How do I verify file integrity with a hash?

Download the official hash (e.g. SHA-256 checksum) from the software provider's website. Use File mode in this tool to hash your downloaded file. If the generated hash matches the official hash exactly, the file is authentic and unmodified.

-FAQ