CryptoParams

The following crypto parameter objects are available per scheme BFV, BGV and CKKS respectively.

CyrptoParamsBFVRNS

class openfhe.CCParamsBFVRNS

Bases: pybind11_object

GetBatchSize(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetCKKSDataType(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.CKKSDataType
GetCompositeDegree(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetDecryptionNoiseMode(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.DecryptionNoiseMode
GetDesiredPrecision(self: openfhe.openfhe.CCParamsBFVRNS) → float
GetDigitSize(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetEncryptionTechnique(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.EncryptionTechnique
GetEvalAddCount(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetExecutionMode(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.ExecutionMode
GetFirstModSize(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetInteractiveBootCompressionLevel(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.COMPRESSION_LEVEL
GetKeySwitchCount(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetKeySwitchTechnique(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.KeySwitchTechnique
GetMaxRelinSkDeg(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetMultipartyMode(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.MultipartyMode
GetMultiplicationTechnique(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.MultiplicationTechnique
GetMultiplicativeDepth(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetNoiseEstimate(self: openfhe.openfhe.CCParamsBFVRNS) → float
GetNumAdversarialQueries(self: openfhe.openfhe.CCParamsBFVRNS) → float
GetNumLargeDigits(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetPREMode(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.ProxyReEncryptionMode
GetPRENumHops(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetPlaintextModulus(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetRegisterWordSize(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetRingDim(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetScalingModSize(self: openfhe.openfhe.CCParamsBFVRNS) → int
GetScalingTechnique(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.ScalingTechnique
GetScheme(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.SCHEME
GetSecretKeyDist(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.SecretKeyDist
GetSecurityLevel(self: openfhe.openfhe.CCParamsBFVRNS) → openfhe.openfhe.SecurityLevel
GetStandardDeviation(self: openfhe.openfhe.CCParamsBFVRNS) → float
GetStatisticalSecurity(self: openfhe.openfhe.CCParamsBFVRNS) → float
SetBatchSize(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetCKKSDataType(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.CKKSDataType) → None
SetCompositeDegree(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetDecryptionNoiseMode(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.DecryptionNoiseMode) → None
SetDesiredPrecision(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsFloat) → None
SetDigitSize(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetEncryptionTechnique(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.EncryptionTechnique) → None
SetEvalAddCount(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetExecutionMode(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.ExecutionMode) → None
SetFirstModSize(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetInteractiveBootCompressionLevel(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.COMPRESSION_LEVEL) → None
SetKeySwitchCount(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetKeySwitchTechnique(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.KeySwitchTechnique) → None
SetMaxRelinSkDeg(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetMultipartyMode(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.MultipartyMode) → None
SetMultiplicationTechnique(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.MultiplicationTechnique) → None
SetMultiplicativeDepth(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetNoiseEstimate(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsFloat) → None
SetNumAdversarialQueries(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetNumLargeDigits(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetPREMode(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.ProxyReEncryptionMode) → None
SetPRENumHops(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetPlaintextModulus(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetRegisterWordSize(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetRingDim(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetScalingModSize(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetScalingTechnique(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.ScalingTechnique) → None
SetSecretKeyDist(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.SecretKeyDist) → None
SetSecurityLevel(self: openfhe.openfhe.CCParamsBFVRNS, arg0: openfhe.openfhe.SecurityLevel) → None
SetStandardDeviation(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsFloat) → None
SetStatisticalSecurity(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None
SetThresholdNumOfParties(self: openfhe.openfhe.CCParamsBFVRNS, arg0: SupportsInt) → None

CryptoParamsBGVRNS

class openfhe.CCParamsBGVRNS

Bases: pybind11_object

GetBatchSize(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetCKKSDataType(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.CKKSDataType
GetCompositeDegree(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetDecryptionNoiseMode(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.DecryptionNoiseMode
GetDesiredPrecision(self: openfhe.openfhe.CCParamsBGVRNS) → float
GetDigitSize(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetEncryptionTechnique(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.EncryptionTechnique
GetEvalAddCount(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetExecutionMode(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.ExecutionMode
GetFirstModSize(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetInteractiveBootCompressionLevel(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.COMPRESSION_LEVEL
GetKeySwitchCount(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetKeySwitchTechnique(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.KeySwitchTechnique
GetMaxRelinSkDeg(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetMultipartyMode(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.MultipartyMode
GetMultiplicationTechnique(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.MultiplicationTechnique
GetMultiplicativeDepth(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetNoiseEstimate(self: openfhe.openfhe.CCParamsBGVRNS) → float
GetNumAdversarialQueries(self: openfhe.openfhe.CCParamsBGVRNS) → float
GetNumLargeDigits(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetPREMode(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.ProxyReEncryptionMode
GetPRENumHops(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetPlaintextModulus(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetRegisterWordSize(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetRingDim(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetScalingModSize(self: openfhe.openfhe.CCParamsBGVRNS) → int
GetScalingTechnique(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.ScalingTechnique
GetScheme(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.SCHEME
GetSecretKeyDist(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.SecretKeyDist
GetSecurityLevel(self: openfhe.openfhe.CCParamsBGVRNS) → openfhe.openfhe.SecurityLevel
GetStandardDeviation(self: openfhe.openfhe.CCParamsBGVRNS) → float
GetStatisticalSecurity(self: openfhe.openfhe.CCParamsBGVRNS) → float
SetBatchSize(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetCKKSDataType(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.CKKSDataType) → None
SetCompositeDegree(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetDecryptionNoiseMode(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.DecryptionNoiseMode) → None
SetDesiredPrecision(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsFloat) → None
SetDigitSize(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetEncryptionTechnique(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.EncryptionTechnique) → None
SetEvalAddCount(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetExecutionMode(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.ExecutionMode) → None
SetFirstModSize(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetInteractiveBootCompressionLevel(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.COMPRESSION_LEVEL) → None
SetKeySwitchCount(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetKeySwitchTechnique(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.KeySwitchTechnique) → None
SetMaxRelinSkDeg(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetMultipartyMode(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.MultipartyMode) → None
SetMultiplicationTechnique(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.MultiplicationTechnique) → None
SetMultiplicativeDepth(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetNoiseEstimate(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsFloat) → None
SetNumAdversarialQueries(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetNumLargeDigits(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetPREMode(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.ProxyReEncryptionMode) → None
SetPRENumHops(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetPlaintextModulus(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetRegisterWordSize(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetRingDim(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetScalingModSize(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetScalingTechnique(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.ScalingTechnique) → None
SetSecretKeyDist(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.SecretKeyDist) → None
SetSecurityLevel(self: openfhe.openfhe.CCParamsBGVRNS, arg0: openfhe.openfhe.SecurityLevel) → None
SetStandardDeviation(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsFloat) → None
SetStatisticalSecurity(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None
SetThresholdNumOfParties(self: openfhe.openfhe.CCParamsBGVRNS, arg0: SupportsInt) → None

CryptoParamsCKKSRNS

class openfhe.CCParamsCKKSRNS

Bases: pybind11_object

GetBatchSize(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetCKKSDataType(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.CKKSDataType
GetCompositeDegree(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetDecryptionNoiseMode(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.DecryptionNoiseMode
GetDesiredPrecision(self: openfhe.openfhe.CCParamsCKKSRNS) → float
GetDigitSize(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetEncryptionTechnique(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.EncryptionTechnique
GetEvalAddCount(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetExecutionMode(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.ExecutionMode
GetFirstModSize(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetInteractiveBootCompressionLevel(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.COMPRESSION_LEVEL
GetKeySwitchCount(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetKeySwitchTechnique(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.KeySwitchTechnique
GetMaxRelinSkDeg(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetMultipartyMode(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.MultipartyMode
GetMultiplicationTechnique(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.MultiplicationTechnique
GetMultiplicativeDepth(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetNoiseEstimate(self: openfhe.openfhe.CCParamsCKKSRNS) → float
GetNumAdversarialQueries(self: openfhe.openfhe.CCParamsCKKSRNS) → float
GetNumLargeDigits(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetPREMode(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.ProxyReEncryptionMode
GetPRENumHops(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetPlaintextModulus(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetRegisterWordSize(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetRingDim(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetScalingModSize(self: openfhe.openfhe.CCParamsCKKSRNS) → int
GetScalingTechnique(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.ScalingTechnique
GetScheme(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.SCHEME
GetSecretKeyDist(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.SecretKeyDist
GetSecurityLevel(self: openfhe.openfhe.CCParamsCKKSRNS) → openfhe.openfhe.SecurityLevel
GetStandardDeviation(self: openfhe.openfhe.CCParamsCKKSRNS) → float
GetStatisticalSecurity(self: openfhe.openfhe.CCParamsCKKSRNS) → float
SetBatchSize(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetCKKSDataType(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.CKKSDataType) → None
SetCompositeDegree(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetDecryptionNoiseMode(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.DecryptionNoiseMode) → None
SetDesiredPrecision(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsFloat) → None
SetDigitSize(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetEncryptionTechnique(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.EncryptionTechnique) → None
SetEvalAddCount(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetExecutionMode(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.ExecutionMode) → None
SetFirstModSize(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetInteractiveBootCompressionLevel(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.COMPRESSION_LEVEL) → None
SetKeySwitchCount(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetKeySwitchTechnique(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.KeySwitchTechnique) → None
SetMaxRelinSkDeg(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetMultipartyMode(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.MultipartyMode) → None
SetMultiplicationTechnique(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.MultiplicationTechnique) → None
SetMultiplicativeDepth(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetNoiseEstimate(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsFloat) → None
SetNumAdversarialQueries(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetNumLargeDigits(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetPREMode(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.ProxyReEncryptionMode) → None
SetPRENumHops(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetPlaintextModulus(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetRegisterWordSize(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetRingDim(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetScalingModSize(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetScalingTechnique(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.ScalingTechnique) → None
SetSecretKeyDist(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.SecretKeyDist) → None
SetSecurityLevel(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: openfhe.openfhe.SecurityLevel) → None
SetStandardDeviation(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsFloat) → None
SetStatisticalSecurity(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None
SetThresholdNumOfParties(self: openfhe.openfhe.CCParamsCKKSRNS, arg0: SupportsInt) → None