Crc parametric compute

crc-parametric-compute · version 1.0.0 · Hashing & signatures · free, no key needed

Compute a CRC using a named catalogue preset (CRC-8, CRC-16/ARC, CRC-32/ISO-HDLC, ...) or an explicit Rocksoft model.

Use when you need to: crc16 modbus checksum · crc32c of this data · xmodem crc of a packet.

Decide before calling

Read the versioned contract and the supported scope below. Reuse crc-parametric-compute@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use crc-parametric-compute@1.0.0 for crc16 modbus checksum. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "text": "123456789",
  "preset": "crc-32/iso-hdlc"
}

Response:

{
  "result": {
    "width": 32,
    "model": {
      "width": 32,
      "poly": "4c11db7",
      "init": "ffffffff",
      "refin": true,
      "refout": true,
      "xorout": "ffffffff"
    },
    "hex": "cbf43926",
    "decimal": "3421780262",
    "check": "cbf43926"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "crc-parametric-compute",
  "version": "1.0.0",
  "input": {
    "text": "123456789",
    "preset": "crc-32/iso-hdlc"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/crc-parametric-compute/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"text":"123456789","preset":"crc-32/iso-hdlc"}'

The machine-readable contract is at /v1/tools/crc-parametric-compute/versions/1.0.0.

CLI

node cli.mjs run crc-parametric-compute 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.