Numveta

hashing

SHA-256 Hash Generator

Calculate the SHA-256 hash of text with the Web Crypto API in your browser.

Last updated

How it works

Enter the values requested by the labels and confirm that each value uses the units described. SHA-256 Hash Generator validates the inputs before calculating, then applies this method: SHA-256 is a one-way cryptographic hash function that maps input bytes to a 256-bit digest. The tool converts your text to UTF-8 bytes, passes those bytes to the browser's Web Crypto digest API, and displays the result as 64 lowercase hexadecimal characters. A small change in the input produces a different digest. Hashing is not encryption: the original text cannot be recovered from the digest, and a plain hash alone is not a safe password-storage method. The text stays in the browser; Web Crypto generally requires HTTPS or localhost.. Check the displayed result against your original values and any worked example. When comparing scenarios, change one input at a time so you can see which assumption affects the outcome. This result is based on the information entered in this browser. It does not retrieve live prices, rates, institutional rules, or official records unless this page explicitly says otherwise. Use it for planning and learning, and confirm decisions that depend on current rules or precise measurements with an appropriate source.

Worked example

The text `hello` produces the SHA-256 digest `2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824`.

Common mistakes

  • Remember that hashing is not encryption and cannot be reversed.
  • Do not use a plain SHA-256 digest as a password storage scheme.

Frequently asked questions

Is SHA-256 encryption?

No. It is a one-way hash function and does not provide a way to decrypt the digest.

Why does one extra space change the output?

The digest is computed from the exact UTF-8 bytes, so any character or whitespace change changes the input bytes.

Can I hash a password with this tool for storage?

Do not use a plain SHA-256 hash for password storage. Password systems should use a dedicated slow password-hashing function with salts.