DocsCommandsHash Analyzer

Hash Analyzer

The Hash Analyzer module computes cryptographic hash digests for files or string inputs and can compare them against known hash values.

Usage

bash
python -m cyberx hash [options]

Examples

bash
# Hash a file\npython -m cyberx hash --file payload.bin\n\n# Hash a string\npython -m cyberx hash --string 'hello world'\n\n# Verify against a known hash\npython -m cyberx hash --file payload.bin --verify abc123...

Supported algorithms

  • MD5
  • SHA-1
  • SHA-256
  • SHA-512

Options

  • --file PATH — File to hash
  • --string TEXT — String to hash
  • --verify HASH — Compare output against a known hash
  • --algorithm ALG — Restrict to a specific algorithm