Skip to content
HALOWERK

IoT and Devices

linecode lfsr synchronous scramble

Return a synchronous LFSR keystream and XOR-scrambled bits for supplied tap positions and seed.

POST https://iot.halowerk.com/v1/linecode-lfsr-synchronous-scramble

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
bitsarrayYes
widthintegerYes
tapsarrayYes
seedintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "bits": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 512,
      "minItems": 0
    },
    "width": {
      "type": "integer",
      "minimum": 2,
      "maximum": 16
    },
    "taps": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 15
      },
      "maxItems": 16,
      "minItems": 1
    },
    "seed": {
      "type": "integer",
      "minimum": 1,
      "maximum": 65535
    }
  },
  "required": [
    "bits",
    "width",
    "taps",
    "seed"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "bits": [
    0,
    0,
    0,
    0
  ],
  "width": 3,
  "taps": [
    0,
    1
  ],
  "seed": 1
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’