pub fn decode_secret_key(
    secret: &str,
    password: Option<&[u8]>
) -> Result<KeyPair, Error>
Expand description

Decode a secret key, possibly deciphering it with the supplied password.