Skip to main content

parse_secret_seed

Function parse_secret_seed 

Source
pub fn parse_secret_seed(text: &str) -> Result<Zeroizing<[u8; 32]>, Error>
Expand description

Parse a 32-byte Ed25519 seed from base58 or S StrKey.

Decoding buffers are zeroed on drop. Callers must also protect their input text.