Function tfhe::generate_keys

source ·
pub fn generate_keys<C: Into<Config>>(config: C) -> (ClientKey, ServerKey)
Available on crate feature integer only.
Expand description

Generates keys using the provided config.

§Example

use tfhe::{generate_keys, ConfigBuilder};

let config = ConfigBuilder::default().build();
let (client_key, server_key) = generate_keys(config);