Skip to main content

ucan_cid

Function ucan_cid 

Source
pub fn ucan_cid(ucan: &Ucan) -> Result<[u8; 32], ApprovalError>
Expand description

BLAKE3 content id of a UCAN: hash of its canonical CBOR encoding. The same codec the rest of the MAC stack uses, so the CID is stable across processes.