Adler-32 window roll

adler32-window-roll · version 1.0.0 · Hashing & signatures · free, no key needed

Roll an Adler-32 state forward by replacing one byte in a fixed-size window.

Use when you need to: roll an adler32 fixed window · update checksum after sliding one byte · compute next rolling adler checksum.

Decide before calling

Read the versioned contract and the supported scope below. Reuse adler32-window-roll@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 adler32-window-roll@1.0.0 for roll an adler32 fixed window. 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:

{
  "checksum": "024d0127",
  "window_length": 3,
  "outgoing_byte": 97,
  "incoming_byte": 100
}

Response:

{
  "result": {
    "algorithm": "adler32",
    "checksum": "0253012a",
    "standard": "RFC 1950 section 8; zlib 1.3.1 adler32/adler32_combine behavior"
  }
}

How to call it

MCP

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

{
  "id": "adler32-window-roll",
  "version": "1.0.0",
  "input": {
    "checksum": "024d0127",
    "window_length": 3,
    "outgoing_byte": 97,
    "incoming_byte": 100
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/adler32-window-roll/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"checksum":"024d0127","window_length":3,"outgoing_byte":97,"incoming_byte":100}'

The machine-readable contract is at /v1/tools/adler32-window-roll/versions/1.0.0.

CLI

node cli.mjs run adler32-window-roll 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.