Developer

Hash Generator

Generate SHA hashes from text using the browser Web Crypto API.

All tools

Input

Hash

Hash output will appear here.

Frequently asked questions

Which SHA variant should I pick for password hashing?
None of them directly - raw SHA-256 or SHA-512 are too fast and vulnerable to brute force against passwords. Use a password-specific KDF like bcrypt, scrypt, or Argon2 on the server side instead.
Why does the same input always produce the same hash?
Cryptographic hashes are deterministic by design so two parties can independently verify integrity. To get different outputs from the same input, prepend a unique salt before hashing.
Is SHA-1 still safe to use?
SHA-1 is broken for collision resistance and should not be used for signatures, certificates, or anything security sensitive. It is acceptable only for non-adversarial checksums like Git object IDs.