SHA-256 of a string
Input
hello
Output
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
🔒 Browser-side processing
Compute SHA-1, SHA-256, SHA-384, and SHA-512 hashes via WebCrypto.
Guide
Compare SHA values for downloaded files or build outputs to confirm whether two artifacts are actually identical.
Test how whitespace, line breaks, or field ordering change a digest before you wire the same input into a backend signature flow.
Short comparison strings stay in the browser, which is safer than pasting them into random online converters during debugging.
Notes
No. Hashing is a one-way digest used for comparison or integrity checks, while encryption is designed for later decryption.
SHA-256 is usually the practical default for integrity checks. Use SHA-512 when your policy, ecosystem, or output-length requirements call for it.
The digest is computed with the browser Web Crypto API. You should still account for extensions, device security, and your own operating environment.