Skip to main content

Hashing & Checksums

CTPH Digest Calculator

Calculate or verify a digest with CTPH. 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.

Your result appears here

Calculate or verify a digest with CTPH. 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.

CTPH Digest Calculator uses context-triggered piecewise hashing for the supplied input. The operation returns a context-triggered piecewise hash that supports approximate similarity checks. The digest or checksum format is specific to CTPH Digest Calculator.

The operation returns a context-triggered piecewise hash that supports approximate similarity checks. The digest or checksum format is specific to CTPH Digest Calculator. This result runs in the browser for this catalog category. Processing runs in the browser.

Fuzzy hashing exposes similarity structure; it does not provide collision-resistant authentication.

Instructions

  1. Provide text or data for this tool.
  2. Use short non-sensitive samples while testing. This applies to CTPH Digest Calculator.
  3. Save the exact input encoding with each fuzzy hash. This applies to CTPH Digest Calculator.
  4. Compare hashes with the matching comparator operation. This applies to CTPH Digest Calculator.

Example

Input: Text input "alpha beta gamma" and a second sample "alpha beta delta" for a public comparison fixture. Algorithm operation: CTPH Digest Calculator.

Settings: CTPH Digest Calculator: Use text input for the short sample. Keep the algorithm format selected by the operation. Use the text output as a fuzzy-hash string.

Result: The operation returns a context-triggered piecewise hash that supports approximate similarity checks. The digest or checksum format is specific to CTPH Digest Calculator.

Limits

  • CTPH Digest Calculator: Fuzzy hashes support similarity checks, not exact identity.
  • CTPH Digest Calculator: Results vary with input size and changed regions.
  • CTPH Digest Calculator: They are unsuitable as password hashes or message-authentication codes.