pub fn hex_decode(input: &str) -> Result<Vec<u8>, ()>
Decode a hex string (optionally _-separated), bounded to MAX_HEX_INPUT_LEN bytes for DoS safety. Err(()) on odd length or non-hex input.
_
MAX_HEX_INPUT_LEN
Err(())