All tools

DEV / 022

SHA Hash Generator

Generate SHA-1, SHA-256, SHA-384, or SHA-512 digests from text.

Private workspaceYour input stays on this device. HaloBench tools run in your browser whenever possible.
SHA-256
—

Guide / 01

When to use it

Use it to compare a SHA-256 digest for a short release note after transfer or reproduce an expected text-hash example from an API specification.

Guide / 02

Quick guide

  1. Enter the source exactly, including spaces and line endings.
  2. Select the required SHA-1, SHA-256, SHA-384, or SHA-512 algorithm and generate the digest.
  3. Normalize letter case and compare every hexadecimal character with the expected value from a trusted source.

Check

Validate the result

Use a known vector: the SHA-256 of an empty string is e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.

Limits

Know the limits

Input is UTF-8 text; file hashing, HMAC, and salts are not supported. SHA-1 has weak collision resistance, and a fast general SHA function is not suitable by itself for storing passwords.

Reference

Input and output example

Use the same units and settings when comparing your result with this example.

Example input
abc · SHA-256
Result and interpretation
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad Adding whitespace or a newline changes the hash.

FAQ

Frequently asked

Can the original text be recovered from the hash?

A proper SHA digest has no reverse operation. However, short or common inputs can be guessed by hashing many candidates until one matches.

Does my data leave this device?

No. This tool is designed to process its working data in your browser. Advertising may load separately, but your tool input is never sent with it.