pub fn hex_decode(input: &[u8], out: &mut [u8]) -> Result<()>
Decode a hex string into out, accepting either case.
out
out must be exactly input.len() / 2 bytes.
input.len() / 2