Skip to content

Extract, deduplicate, and classify hashes

Find hexadecimal digests in noisy text, remove repeats, and list algorithms compatible with each digest length.

Install in Serialize

What it can do

  • Extract 64-character hexadecimal values
  • Remove repeated digests
  • Analyse each digest independently
  • Explain that length alone is ambiguous

How the recipe works

Extract hashes

Extract candidate 256-bit hexadecimal hashes from surrounding text.

Unique

Keep only unique values.

Fork

Fork the list into independent candidates.

Analyse hash

Report algorithms compatible with each candidate's length.

Demonstration

Sample input

sha256=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
repeat 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08

Expected result

One 256-bit digest report listing SHA-256 and other length-compatible algorithms.

When to use it

  • Malware-report cleanup
  • Integrity-value inventories
  • Teaching why hash identification is probabilistic

Adapt it

Change the extraction length for MD5, SHA-1, SHA-384, or SHA-512 inventories, or enable all-hash extraction for mixed reports.

Source and verification

Adapted from GCHQ CyberChef project and examples. The explanation and sample are written for Serialize, use synthetic or documentation-safe data, and are checked against the current operation catalogue. The workflow runs locally without an external API call.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close