Skip to main content

cid

Function cid 

Source
pub fn cid(value: &Value) -> Cid
Expand description

Encodes a value and returns the CID naming that block.

This is the pairing the rest of atproto is built on, and keeping it in one function is deliberate: a CID over anything but the canonical encoding is a number that looks like an identity and is not one.