[][src]Function ssb_keyfile::generate_at_path

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

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.