HelibConfig#

class HelibConfig#

A class for holding HElib configuration parameters. It doesn’t yet cover all of HElib flags.

property L#
property c#
property enable_conjugate#
init_preset(self: pyhelayers.HelibConfig, preset: pyhelayers.HelibPreset) None#

Initializes configuration based on preset.

Parameters:

preset (HelibPreset) – The preset configuration.

load_from_buffer(self: pyhelayers.HelibConfig, buf: bytes) None#

Loads this HelibConfig from a buffer.

Parameters:

buf – a memory buffer to load the HelibConfig from.

property m#
property p#
property r#
save_to_buffer(self: pyhelayers.HelibConfig) bytes#

Saves this HelibConfig into a buffer.

Returns:

a memory buffer containing the saved HelibConfig.