A hash is one-way, but fast hashes alone are not suitable for storing passwords. Use a dedicated password-hashing system for that.
How to use this hash generator
- Enter the source text.
- Choose a SHA algorithm.
- Generate and copy the hexadecimal digest.
What does a SHA-256 hash do?
SHA-256 converts text into a fixed 256-bit digest, shown here as 64 hexadecimal characters. The same UTF-8 input always produces the same result, while even a small change creates a different digest. That makes SHA-256 useful for comparing expected values, fingerprints and integrity checks without storing the original text beside the digest.
Which SHA algorithm should you choose?
Choose SHA-256 for ordinary modern text hashing and compatibility with common tools such as sha256sum and hashlib.sha256. SHA-384 and SHA-512 create longer SHA-2 digests when a protocol specifies them. SHA-1 remains available only for legacy compatibility; do not choose it for new security-sensitive designs.
Is hashing the same as encryption?
No. Encryption is designed to be reversed with a key, while a cryptographic hash is one-way. A plain fast hash is also not password storage: password systems need a purpose-built, salted and deliberately slow password-hashing function. Use this browser tool for text digests, not for passwords, secrets or authentication decisions.