SHA-512/256 Hash Generator

Generate a SHA-512/256 hash of text or files in your browser — a 256-bit digest that is faster on 64-bit and resists length extension.

Digest

What It Does

This tool computes SHA-512/256 — a 256-bit digest made by the SHA-512 engine from its own initial values. The output is the same size as SHA-256, but it is a different function with different values. It is the hash used by Algorand and by some libsodium and NaCl constructions, chosen because it is faster than SHA-256 on 64-bit CPUs and does not leak its full state.

When to Use It

  • You are working with a blockchain or library that uses SHA-512/256 and need to reproduce a value.
  • You want a 256-bit digest without SHA-256's length-extension property.
  • A colleague claims SHA-512/256 is just SHA-512 truncated and you want to show that it is not.
  • You are benchmarking or testing a SHA-512/t implementation.

Worked Examples

abc

Gives 53048e2681941ef99b2e29b76b4c7dabe4c2d0c634fc6d46e0e2f13107e7af23 — different from both SHA-256("abc") and the first half of SHA-512("abc").

Empty input: c672b8d1ef56ed28ab87c3622c5114069bdd3ad7b8f9737498d0c01ecef0967a.

hello

Paste the SHA-256 of hello into the comparison box: it is the right length but a different value, so the tool reports no match.

Features

SHA-512/256 digest as you type
Hash files as raw bytes without uploading
Hex / HEX / Base64 output
Hash each line separately
Checksum comparison that recognises the wrong algorithm
Warnings for line endings
BOMs and passwords

How to Use

1. Type or paste text, or choose Hash a file to hash a file's raw bytes. 2. Pick the output encoding the value will be compared against — hex is the usual one. 3. To check a published checksum, paste it into the comparison box; the tool tells you whether it matches and, if not, whether it is even the same algorithm.

Common Mistakes

  • Hashing text that is not byte-for-byte what the other side hashed. A trailing newline, Windows line endings or a byte-order mark each produce a completely different SHA-512/256 value, and none of them are visible.
  • Comparing a hex digest with a Base64 one. They encode the same bytes differently, so they never look alike even when they match — switch the output format before deciding two values disagree.
  • Comparing digests in mixed case and concluding they differ. Hex is case-insensitive; ABCDEF and abcdef are the same value.
  • Using a plain SHA-512/256 digest where a secret is involved. To prove a message came from someone holding a key, you need HMAC, not hash(secret + message).

Frequently Asked Questions

Everything runs in your browser. Text and files are hashed locally — nothing is uploaded, logged or stored.

Explore related topics

#Hash #Checksum