pub fn private_key_from_hex(
hex: &str,
) -> Result<Secp256r1PrivateKey, CryptoError>
Expand description
Convert a private key in hex format to a Secp256r1PrivateKey.
ยงErrors
Will return an error if the hex decoding fails
pub fn private_key_from_hex(
hex: &str,
) -> Result<Secp256r1PrivateKey, CryptoError>
Convert a private key in hex format to a Secp256r1PrivateKey.
Will return an error if the hex decoding fails