Function ssb_keyfile::generate_at_path[][src]

pub fn generate_at_path<P: AsRef<Path>>(path: P) -> Result<Keypair, Error>
Expand description

Generate a new Keypair and write it to a new file at the specified Path. The path should include the file name. Fails if the path exists, or if the path is a directory.