Skip to main content

encode_nsec

Function encode_nsec 

Source
pub fn encode_nsec(secret_key: &SecretKey) -> String
Expand description

Encode a secret key as a bech32 nsec string (NIP-19).