pub fn hex_string_to_bytes(hex_string: &str) -> Result<Vec<u8>>
Convert a hex string into a byte array