Compute SHA-256 digests

Compute a 256-bit SHA-256 digest from exact input bytes.

freeworks offlinenothing uploaded
ToolSHA-256 Hash
Input
Output

How it works

SHA-256 pads input with a 64-bit length, processes 512-bit blocks through 64 rounds on eight 32-bit words, and emits 256 bits. The result is deterministic for the selected bytes.

  • 256 bits balance interoperability and compactness.
  • Exact encoding is part of the input.

Worked example

Hash Text
Generate the SHA-256 digest of a simple string
Input
											hello
										
Output
												2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
											

When to use this

Artifacts, signatures, and content-addressed stores compute SHA-256.

Edge cases

  • Text encoding changes the digest.
  • A hash is not encryption.
  • An unkeyed digest can be replaced with altered data.

References