parse_secret_key_from_hex

Function parse_secret_key_from_hex 

Source
pub fn parse_secret_key_from_hex(
    hex_str: &str,
) -> Result<SecretKey, SecretKeyError>
Expand description

Parses a [SecretKey] from a hex string.

The hex string can optionally start with “0x”.