PKE enums

Scheme Types

class openfhe.SCHEME

Bases: pybind11_object

Members:

INVALID_SCHEME

CKKSRNS_SCHEME

BFVRNS_SCHEME

BGVRNS_SCHEME

BFVRNS_SCHEME = <SCHEME.BFVRNS_SCHEME: 2>
BGVRNS_SCHEME = <SCHEME.BGVRNS_SCHEME: 3>
CKKSRNS_SCHEME = <SCHEME.CKKSRNS_SCHEME: 1>
INVALID_SCHEME = <SCHEME.INVALID_SCHEME: 0>
property name
property value

PKE Scheme Features

class openfhe.PKESchemeFeature

Bases: pybind11_object

Members:

PKE

KEYSWITCH

PRE

LEVELEDSHE

ADVANCEDSHE

MULTIPARTY

FHE

SCHEMESWITCH

ADVANCEDSHE = <PKESchemeFeature.ADVANCEDSHE: 16>
FHE = <PKESchemeFeature.FHE: 64>
KEYSWITCH = <PKESchemeFeature.KEYSWITCH: 2>
LEVELEDSHE = <PKESchemeFeature.LEVELEDSHE: 8>
MULTIPARTY = <PKESchemeFeature.MULTIPARTY: 32>
PKE = <PKESchemeFeature.PKE: 1>
PRE = <PKESchemeFeature.PRE: 4>
SCHEMESWITCH = <PKESchemeFeature.SCHEMESWITCH: 128>
property name
property value

Scaling Techniques

class openfhe.ScalingTechnique

Bases: pybind11_object

Members:

FIXEDMANUAL

FIXEDAUTO

FLEXIBLEAUTO

FLEXIBLEAUTOEXT

NORESCALE

INVALID_RS_TECHNIQUE

FIXEDAUTO = <ScalingTechnique.FIXEDAUTO: 1>
FIXEDMANUAL = <ScalingTechnique.FIXEDMANUAL: 0>
FLEXIBLEAUTO = <ScalingTechnique.FLEXIBLEAUTO: 2>
FLEXIBLEAUTOEXT = <ScalingTechnique.FLEXIBLEAUTOEXT: 3>
INVALID_RS_TECHNIQUE = <ScalingTechnique.INVALID_RS_TECHNIQUE: 5>
NORESCALE = <ScalingTechnique.NORESCALE: 4>
property name
property value

Key Switching Techniques

class openfhe.KeySwitchTechnique

Bases: pybind11_object

Members:

INVALID_KS_TECH

BV

HYBRID

BV = <KeySwitchTechnique.BV: 1>
HYBRID = <KeySwitchTechnique.HYBRID: 2>
INVALID_KS_TECH = <KeySwitchTechnique.INVALID_KS_TECH: 0>
property name
property value

Secret Key Dist

class openfhe.SecretKeyDist

Bases: pybind11_object

Members:

GAUSSIAN

UNIFORM_TERNARY

SPARSE_TERNARY

GAUSSIAN = <SecretKeyDist.GAUSSIAN: 0>
SPARSE_TERNARY = <SecretKeyDist.SPARSE_TERNARY: 2>
UNIFORM_TERNARY = <SecretKeyDist.UNIFORM_TERNARY: 1>
property name
property value

Proxy Reencryption Mode

class openfhe.ProxyReEncryptionMode

Bases: pybind11_object

Members:

NOT_SET

INDCPA

FIXED_NOISE_HRA

NOISE_FLOODING_HRA

DIVIDE_AND_ROUND_HRA

DIVIDE_AND_ROUND_HRA = <ProxyReEncryptionMode.DIVIDE_AND_ROUND_HRA: 4>
FIXED_NOISE_HRA = <ProxyReEncryptionMode.FIXED_NOISE_HRA: 2>
INDCPA = <ProxyReEncryptionMode.INDCPA: 1>
NOISE_FLOODING_HRA = <ProxyReEncryptionMode.NOISE_FLOODING_HRA: 3>
NOT_SET = <ProxyReEncryptionMode.NOT_SET: 0>
property name
property value

Multiparty Mode

class openfhe.MultipartyMode

Bases: pybind11_object

Members:

INVALID_MULTIPARTY_MODE

FIXED_NOISE_MULTIPARTY

NOISE_FLOODING_MULTIPARTY

FIXED_NOISE_MULTIPARTY = <MultipartyMode.FIXED_NOISE_MULTIPARTY: 1>
INVALID_MULTIPARTY_MODE = <MultipartyMode.INVALID_MULTIPARTY_MODE: 0>
NOISE_FLOODING_MULTIPARTY = <MultipartyMode.NOISE_FLOODING_MULTIPARTY: 2>
property name
property value

Execution Mode

class openfhe.ExecutionMode

Bases: pybind11_object

Members:

EXEC_EVALUATION

EXEC_NOISE_ESTIMATION

EXEC_EVALUATION = <ExecutionMode.EXEC_EVALUATION: 0>
EXEC_NOISE_ESTIMATION = <ExecutionMode.EXEC_NOISE_ESTIMATION: 1>
property name
property value

Decryption Noise Mode

class openfhe.DecryptionNoiseMode

Bases: pybind11_object

Members:

FIXED_NOISE_DECRYPT

NOISE_FLOODING_DECRYPT

FIXED_NOISE_DECRYPT = <DecryptionNoiseMode.FIXED_NOISE_DECRYPT: 0>
NOISE_FLOODING_DECRYPT = <DecryptionNoiseMode.NOISE_FLOODING_DECRYPT: 1>
property name
property value

Encryption Technique

class openfhe.EncryptionTechnique

Bases: pybind11_object

Members:

STANDARD

EXTENDED

EXTENDED = <EncryptionTechnique.EXTENDED: 1>
STANDARD = <EncryptionTechnique.STANDARD: 0>
property name
property value

Multiplication Technique

class openfhe.MultiplicationTechnique

Bases: pybind11_object

Members:

BEHZ

HPS

HPSPOVERQ

HPSPOVERQLEVELED

BEHZ = <MultiplicationTechnique.BEHZ: 0>
HPS = <MultiplicationTechnique.HPS: 1>
HPSPOVERQ = <MultiplicationTechnique.HPSPOVERQ: 2>
HPSPOVERQLEVELED = <MultiplicationTechnique.HPSPOVERQLEVELED: 3>
property name
property value

Security Level

class openfhe.SecurityLevel

Bases: pybind11_object

Members:

HEStd_128_classic

HEStd_192_classic

HEStd_256_classic

HEStd_NotSet

HEStd_128_classic = <SecurityLevel.HEStd_128_classic: 0>
HEStd_192_classic = <SecurityLevel.HEStd_192_classic: 1>
HEStd_256_classic = <SecurityLevel.HEStd_256_classic: 2>
HEStd_NotSet = <SecurityLevel.HEStd_NotSet: 6>
property name
property value

“””