Utility class for creating CIDs. Exported for the convenience of developers.
Static
Computes a V1 CID for the provided payload
the codec to use. Defaults to cbor
the multihasher to use. Defaults to sha256
payload CID
codec is not supported
encoding fails
if hasher is not supported
V1 CID of the DAG comprised by chunking data into unixfs DAG-PB encoded blocks
Parses the given CID string into a {CID}.
Utility class for creating CIDs. Exported for the convenience of developers.