---
typeId: req
recordId: benac-crypto-002
fields:
  title: Baseline exact content identifier
  statement: Benac shall use DASL CID v1 as the required baseline exact content
    identifier for raw blobs and content-addressed structured documents. Raw
    blob CIDs shall be computed over the exact raw byte sequence using SHA-256
    and DASL CID raw codec 0x55. Structured document CIDs shall be computed over
    the DRISL bytes produced by encoding the logical Benac object according to
    the required DRISL rules using SHA-256 and DASL CID DRISL codec 0x71. The
    baseline DASL CID profile shall use string prefix b, lowercase RFC 4648
    base32 string encoding, CID byte version 0x01, SHA-256 hash type 0x12, hash
    size 0x20, and a 32-byte digest.
  rationale: All implementations need one common exact content identifier format,
    not merely one common digest algorithm. DASL CID v1 gives Benac a portable
    identifier for raw byte content and DRISL-encoded structured content.
  verification: Cross-platform vectors produce identical DASL CIDs for identical
    raw byte sequences and identical DRISL-encoded structured documents.
    Malformed CIDs, unsupported versions, unsupported codecs, unsupported hash
    types, wrong hash sizes, truncated digests, extra bytes, and malformed
    string encodings are rejected. CID string vectors shall verify prefix b,
    lowercase RFC 4648 base32 encoding, required CID string form, and rejection
    of uppercase, padded, mixed-case, wrong-prefix, malformed, truncated, or
    trailing-byte forms unless a future codec or encoding addition explicitly
    permits another encoding.
  testable: true
  status: draft
  area: BENAC-CRYPTO
  sourceDocument: /home/johnb/Downloads/benac_syrs_v0_4_integrated_authentication.md
  sourceVersion: v0.4
  sourceSections:
    - 10.1 Cryptographic identity, content identity, and provenance foundation
  order: 2
---
