pub fn decode_secret(s: &str) -> Result<SecretKey, IdentityError>Expand description
Decode a secret key from either nsec (bech32) or hex format.
pub fn decode_secret(s: &str) -> Result<SecretKey, IdentityError>Decode a secret key from either nsec (bech32) or hex format.