pub fn cap_hash(cap: &Cap) -> CapHash
32-byte content hash of cap. Walks the cap tree via SSZ HashTreeRoot with SHA-256 as the default digest.
cap
HashTreeRoot