Frequently Asked Questions
Which hash algorithms are supported?
SHA-1, SHA-256, SHA-384, and SHA-512 are supported through Web Crypto.
Can I hash secrets safely in this tool?
Hashing runs locally in your browser, but avoid exposing sensitive values on shared machines.
Why are hashes the same for the same input?
Cryptographic hash functions are deterministic for identical input and algorithm.
Example input/output
Input: hello
Output: SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
How it works
SHA-1, SHA-256, SHA-384, and SHA-512 are computed using the browser's built-in Web Crypto API (crypto.subtle.digest). MD5 is computed using the CryptoJS library loaded from a CDN, since MD5 is not supported by the Web Crypto API. All hashing runs locally in your browser — no data is sent to a server.
Common use cases
- Generate SHA-256 checksums to verify file integrity
- Hash passwords or tokens before comparing stored values
- Produce MD5 digests for content deduplication or legacy system compatibility