ring::test

Function from_hex

source
pub fn from_hex(hex_str: &str) -> Result<Vec<u8>, String>
Expand description

Decode an string of hex digits into a sequence of bytes. The input must have an even number of digits.