pub fn string_to_bytes(hexstring: &str) -> Result<Vec<u8>, ParseIntError>