Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SealJSONLD ¶
SealJSONLD takes raw JSON-LD bytes, canonicalizes using URDNA2015 (via piprate/json-gold), computes a CIDv1 (json-ld codec) using SHA2-256, and returns (cidString, canonicalBytes, error).
canonicalBytes are the N-Quads string returned by Normalize() encoded as UTF-8 bytes. The canonicalization step uses the URDNA2015 algorithm and produces deterministic output. The CID is encoded using base58btc (z prefix).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.