generateCID(content: string | Uint8Array): Promise<string>
Generates a Content Identifier (CID) for the given content.
Creates a CIDv1 using SHA-256 hashing and base32 encoding, compatible with IPFS and other content-addressed storage systems. The resulting CID starts with the "bafkrei" prefix.
content: string | Uint8Array
- The content to hash. Strings are UTF-8 encoded before hashing.