pub fn str_hex_to_32bytes(text: &str) -> Result<[u8; 32], BaseConversionError>
Convert a hexadecimal string in an array of 32 bytes.
The hex string must only contains hex characters and produce a 32 bytes value.