Input Text
Hash Output
How it works
This tool uses the browser’s Web Crypto API, specifically `crypto.subtle.digest()`, to generate cryptographic digests from text input directly on the client side. Before hashing, the text is converted into UTF-8 bytes with `TextEncoder`, which is the standard browser API for encoding JavaScript strings into byte arrays.
- Supported algorithms in browser digest APIs include SHA-1, SHA-256, SHA-384, and SHA-512.
- SHA-256 is the best default for general-purpose modern use.
- SHA-1 remains available mainly for legacy compatibility and is not recommended for new cryptographic security applications.