Skip to main content

Hashing & Checksums

XOR Checksum Digest Calculator

Calculate or verify a digest with XOR Checksum. Enter the data, choose the digest options, then copy the calculated value.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Calculate or verify a digest with XOR Checksum. Enter the data, choose the digest options, then copy the calculated value.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

XOR Checksum Digest Calculator uses checksum for the supplied input. It XORs each byte position across successive blocks and returns the combined bytes as hexadecimal.

It XORs each byte position across successive blocks and returns the combined bytes as hexadecimal. This result runs in the browser for this catalog category. Processing runs in the browser.

Checksums detect selected transmission or entry errors; they do not provide confidentiality or adversarial integrity.

Instructions

  1. Provide text or data for this tool.
  2. Match Blocksize to the format you inspect. This applies to XOR Checksum Digest Calculator.
  3. Keep incomplete final blocks when reproducing a stored checksum. This applies to XOR Checksum Digest Calculator.

Example

Input: Supply bytes 01 02 03 04 with Blocksize 2; the result is 0206.

Settings: XOR Checksum Digest Calculator: Blocksize counts bytes and must be a positive integer. The default Blocksize is 4, producing four output bytes.

Result: It XORs each byte position across successive blocks and returns the combined bytes as hexadecimal.

Limits

  • XOR Checksum Digest Calculator: Reordering complete blocks leaves this XOR checksum unchanged.
  • XOR Checksum Digest Calculator: Repeated changes can cancel each other, so this cannot establish integrity against an attacker.