fn digest_from_hex(s: &str) -> Result<[u8; 32]>
Convert a hexadecimal sha3-256 digest from the database into an array.