pub fn contract_digest(bytes: &[u8]) -> String
The lowercase hex SHA-256 of a contract’s bytes, as sha256sum prints it.
sha256sum