Toolporten

Dev · 1 credit

Hash digest

Stable hex digests for integrity checks and content addressing — SHA-256 by default, with MD5 and SHA-1 only for legacy interop.

Use in a toolbox

What it does

Call this tool (id: hash_digest) to compute a hex digest of text or base64 bytes: MD5 (interop only), SHA-1 (legacy), SHA-256 (preferred). Example: "SHA-256 hex digest of this string" → algorithm=sha256.

Example use cases

How it works in Toolporten

Add hash_digest with algorithm=sha256 (or md5 / sha1 for legacy interop) and hmac_sha256 when you need keyed MACs. Former child ids hash_md5, hash_sha1, and hash_sha256 are disabled (merged_into_hash_digest); ToolAliasMap redirects them.

MCP call example

{
  "name": "hash_digest",
  "arguments": {
    "algorithm": "sha256",
    "text": "hello toolporten"
  }
}

Related tools

Create a toolbox