but this code works ```rust /// Generate CID with multihash for a given input fn generate_cid(data: Vec) -> Vec { // gen the multihash with our default algo and bits let h = Blake2b256::digest(data.as_slice()); // ALWAYS use V1, for now base32 is used 'coz it can't be changed // TODO double-check on the Codec::Raw let cid = Cid::new(Version::V1, Codec::Raw, h).unwrap(); // create the string slice like `bafk...` let cid_str = multibase::encode(Base::Base32Lower, cid.to_bytes().as_slice()); // make the string slice into vec bytes, usually we use that cid_str.into_bytes() } ```