SHA Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes and HMACs
Output will appear here...
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes and HMACs
Output will appear here...
Runs in your browser. Everything runs in your browser; text, files and keys are never uploaded.
The length of the hash in bits. SHA-256 gives 256 bits (64 hex characters), SHA-512 gives 512 bits (128 hex characters). Longer hashes are harder to collide.
Yes. No practical attacks are known against SHA-256, SHA-384 or SHA-512. It is used everywhere from HTTPS certificates to cryptocurrencies.
They are the same bytes written differently. Hex uses 0-9 and a-f; Base64 is shorter and common in HTTP headers and JSON (for example Subresource Integrity values).
Usually invisible differences in the input: a trailing newline, spaces, or Windows (CRLF) vs Unix (LF) line endings. Hashing a file avoids copy-paste differences.