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