Skip to content
HALOWERK

Iotwerk

sensor crc polynomial residue

Compute an explicitly parameterized non-reflected MSB-first CRC over supplied hexadecimal bytes.

POST https://iot.halowerk.com/v1/sensor-crc-polynomial-residue

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
hexstringYes
widthSee schemaYes
polynomialintegerYes
initialintegerYes
xor_outintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "hex": {
      "type": "string",
      "maxLength": 4096
    },
    "width": {
      "enum": [
        8,
        16
      ]
    },
    "polynomial": {
      "type": "integer",
      "minimum": 1,
      "maximum": 65535
    },
    "initial": {
      "type": "integer",
      "minimum": 0,
      "maximum": 65535
    },
    "xor_out": {
      "type": "integer",
      "minimum": 0,
      "maximum": 65535
    }
  },
  "required": [
    "hex",
    "width",
    "polynomial",
    "initial",
    "xor_out"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "hex": "313233343536373839",
  "width": 8,
  "polynomial": 7,
  "initial": 0,
  "xor_out": 0
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’