Skip to main content
Glama

cyberchef_analyse_hash

Identify a hash's algorithm by analyzing its character set, bit length, and structure, including bcrypt, Argon2, scrypt, PBKDF2, and hex digests like MD5.

Instructions

Identifies probable cryptographic hash algorithms for a given digest based on character set, bit length, and structural signatures. Supports modern password hashes (Argon2id/i/d, scrypt, PBKDF2) with OWASP parameter audits, full bcrypt prefixes ($2$, $2a$, $2b$, $2x$, $2y$), and ranked confidence for hex digests (MD5 vs NTLM vs MD4). Note: Classifies format; does not crack hashes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYesThe hash digest or password hash string to inspect and classify (e.g., PHC string '$argon2id$...', bcrypt '$2b$...', or 32/64-char hex strings).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.4
    • changedInput schema / properties / hash / description
      Previous value: -"The hash digest string to inspect and classify (e.g., a 32-character hex string for MD5, 64-character for SHA-256)."New value: +"The hash digest or password hash string to inspect and classify (e.g., PHC string '$argon2id$...', bcrypt '$2b$...', or 32/64-char hex strings)."
  2. Changed1 schema field changedv1.0.2
    • changedInput schema / properties / hash / description
      Previous value: -"Hash string to identify"New value: +"The hash digest string to inspect and classify (e.g., a 32-character hex string for MD5, 64-character for SHA-256)."
  3. First observedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden and does well: it discloses supported families (Argon2, scrypt, PBKDF2, bcrypt prefixes), that output is ranked confidence for hex digests, that OWASP parameter audits are performed, and explicitly that it does not crack hashes. It omits side-effect/performance notes, but for a pure classification tool this is a strong disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core purpose, then supported coverage, then the crucial non-goal. Every sentence earns its place with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema or annotations exist, so the description must carry everything; it covers inputs, supported algorithms, confidence ranking, and non-cracking behavior. The only gap is the shape of the returned result (single answer vs ranked list object), which is implied but not stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single parameter already documents example formats (PHC string, bcrypt, 32/64-char hex). The description reinforces which formats are accepted but adds no new syntax or constraint beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (identifies/classifies) and resource (cryptographic hash algorithms) with scope details: character set, bit length, structural signatures. No sibling tool covers hash identification, so the boundary is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing note 'Classifies format; does not crack hashes' is an explicit when-not, which steers the agent away from expecting recovery. It lacks named alternatives or a stated precondition (e.g., 'use when you have an unknown digest'), but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.