pub fn genesis_digest(doc: &QiDocument) -> Result<[u8; 32], QiError>
SHA-256 of the genesis encoding — the digest that names the DID.