[][src]Function exonum_crypto::generate_keys_file

pub fn generate_keys_file<P: AsRef<Path>, W: AsRef<[u8]>>(
    path: P,
    pass_phrase: W
) -> Result<PublicKey, Error>

Creates a TOML file that contains encrypted SecretKey and returns PublicKey for the secret key.