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>
Available on crate feature cli only.
Expand description

Parses a SecretKey from a hex string.

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