Hash Generator Guide
Compute SHA-256, SHA-384, SHA-512, MD5, and HMAC hashes locally in your browser using the Web Crypto API.
Overview
Generate cryptographic hash digests (SHA-256, SHA-384, SHA-512, MD5) and HMAC message authentication codes locally using the hardware-accelerated Web Crypto API.
When to Use Hash Generator
Use Hash Generator when verifying data integrity, generating checksums, or testing HMAC signing flows without dropping into a command-line terminal.
Inputs, Formats & Specifications
- Accepted Inputs
- Any plain text string, optional secret key for HMAC
- Output Formats
- Hexadecimal hash digest (lowercase/uppercase)
- Supported Standards
- SHA-256 (256-bit), SHA-384 (384-bit), SHA-512 (512-bit), HMAC SHA-256, MD5 (128-bit legacy)
- Browser Limits & Scope
- Cryptographic hash functions are one-way; original input text cannot be reversed or decrypted from the hash output.
How to use Hash Generator
- Type or paste your input string into the text input area.
- Select your cryptographic hash algorithm: SHA-256, SHA-384, SHA-512, or MD5.
- Optionally enter a secret key if you want to compute an HMAC SHA-256 message authentication code.
- Copy the resulting hexadecimal digest string in lowercase or uppercase format.
Real-World Examples
Frequently Asked Questions
Is MD5 safe for password storage or cryptographic security?
No. MD5 has known collision vulnerabilities and should only be used for legacy checksum verification, never for security or password hashing.
What is HMAC?
HMAC (Hash-based Message Authentication Code) combines a cryptographic hash function with a secret key. It verifies both data integrity and the authenticity of the sender.
Can a hash be reversed to recover the original password?
Cryptographic hashes are one-way mathematical functions. They cannot be decrypted, although weak or short passwords can be vulnerable to precomputed dictionary lookup tables.
Privacy & Data Security
Hash Generator is designed to run in the browser. Review outputs before sharing them with any external service or workflow.