Function proj_crypto::asymmetric::sign::key_gen_to_file [] [src]

pub fn key_gen_to_file<P: AsRef<Path> + Display + Clone>(file_path: P) where String: From<P>

Generate a keypair and put it into the specified file This is not memory tidy. It would be difficult to clear the memory properly here and I don't think it matters too much because this doesn't connect to the network