pub fn decode_nsec(nsec: &str) -> Result<SecretKey, IdentityError>
Decode an nsec string to a secret key.