Skip to content
HALOWERK

Datenwerk

log seal

Seal mode computes per line a SHA-256 hash chain and the Merkle tree hash of all lines as in RFC 6962 (leaf 0x00, node 0x01) and returns the seal with line count, chain head, Merkle root and time, optionally anchored via OpenTimestamps. Verify mode recomputes both for the log you send against a seal and reports whether it is unchanged, the first line whose chain value differs, and whether lines were appended after sealing. For single lines it returns Merkle inclusion proofs, so one entry can.

POST https://daten.halowerk.com/v1/log-seal

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
logstringYes
sealobjectNo
proof_linesarrayNo
anchorbooleanNoAlso anchor the result hash via OpenTimestamps (pending proof).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "log"
  ],
  "properties": {
    "log": {
      "type": "string",
      "minLength": 1,
      "maxLength": 5000000
    },
    "seal": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "lines",
        "chain_head",
        "merkle_root"
      ],
      "properties": {
        "lines": {
          "type": "integer",
          "minimum": 1
        },
        "chain_head": {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$"
        },
        "merkle_root": {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$"
        }
      }
    },
    "proof_lines": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "integer",
        "minimum": 1
      }
    },
    "anchor": {
      "type": "boolean",
      "default": false,
      "description": "Also anchor the result hash via OpenTimestamps (pending proof)."
    }
  }
}

Open original schema

Published input example

{
  "log": "2026-11-01T10:00:00Z login ok\n2026-11-01T10:05:00Z export started\n",
  "anchor": false
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’