pub fn sha256_cid(data: &[u8]) -> Result<Cid>
Computes a SHA2-256 CID (most common).
use ipfrs_core::utils::sha256_cid; let cid = sha256_cid(b"Hello, World!").unwrap();