+
+ +
+

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.CCParamsBFVRNS) int
+
+ +
+
+GetDecryptionNoiseMode(self: openfhe.CCParamsBFVRNS) openfhe.DecryptionNoiseMode
+
+ +
+
+GetDesiredPrecision(self: openfhe.CCParamsBFVRNS) float
+
+ +
+
+GetDigitSize(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetEncryptionTechnique(self: openfhe.CCParamsBFVRNS) openfhe.EncryptionTechnique
+
+ +
+
+GetEvalAddCount(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetExecutionMode(self: openfhe.CCParamsBFVRNS) openfhe.ExecutionMode
+
+ +
+
+GetFirstModSize(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetInteractiveBootCompressionLevel(self: openfhe.CCParamsBFVRNS) openfhe.COMPRESSION_LEVEL
+
+ +
+
+GetKeySwitchCount(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetKeySwitchTechnique(self: openfhe.CCParamsBFVRNS) openfhe.KeySwitchTechnique
+
+ +
+
+GetMaxRelinSkDeg(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetMultiHopModSize(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetMultipartyMode(self: openfhe.CCParamsBFVRNS) openfhe.MultipartyMode
+
+ +
+
+GetMultiplicationTechnique(self: openfhe.CCParamsBFVRNS) openfhe.MultiplicationTechnique
+
+ +
+
+GetMultiplicativeDepth(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetNoiseEstimate(self: openfhe.CCParamsBFVRNS) float
+
+ +
+
+GetNumAdversarialQueries(self: openfhe.CCParamsBFVRNS) float
+
+ +
+
+GetNumLargeDigits(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetPREMode(self: openfhe.CCParamsBFVRNS) openfhe.ProxyReEncryptionMode
+
+ +
+
+GetPlaintextModulus(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetRingDim(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetScalingModSize(self: openfhe.CCParamsBFVRNS) int
+
+ +
+
+GetScalingTechnique(self: openfhe.CCParamsBFVRNS) openfhe.ScalingTechnique
+
+ +
+
+GetScheme(self: openfhe.CCParamsBFVRNS) openfhe.SCHEME
+
+ +
+
+GetSecretKeyDist(self: openfhe.CCParamsBFVRNS) openfhe.SecretKeyDist
+
+ +
+
+GetSecurityLevel(self: openfhe.CCParamsBFVRNS) openfhe.SecurityLevel
+
+ +
+
+GetStandardDeviation(self: openfhe.CCParamsBFVRNS) float
+
+ +
+
+GetStatisticalSecurity(self: openfhe.CCParamsBFVRNS) float
+
+ +
+
+SetBatchSize(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetDecryptionNoiseMode(self: openfhe.CCParamsBFVRNS, arg0: openfhe.DecryptionNoiseMode) None
+
+ +
+
+SetDesiredPrecision(self: openfhe.CCParamsBFVRNS, arg0: float) None
+
+ +
+
+SetDigitSize(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetEncryptionTechnique(self: openfhe.CCParamsBFVRNS, arg0: openfhe.EncryptionTechnique) None
+
+ +
+
+SetEvalAddCount(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetExecutionMode(self: openfhe.CCParamsBFVRNS, arg0: openfhe.ExecutionMode) None
+
+ +
+
+SetFirstModSize(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetInteractiveBootCompressionLevel(self: openfhe.CCParamsBFVRNS, arg0: openfhe.COMPRESSION_LEVEL) None
+
+ +
+
+SetKeySwitchCount(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetKeySwitchTechnique(self: openfhe.CCParamsBFVRNS, arg0: openfhe.KeySwitchTechnique) None
+
+ +
+
+SetMaxRelinSkDeg(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetMultiHopModSize(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetMultipartyMode(self: openfhe.CCParamsBFVRNS, arg0: openfhe.MultipartyMode) None
+
+ +
+
+SetMultiplicationTechnique(self: openfhe.CCParamsBFVRNS, arg0: openfhe.MultiplicationTechnique) None
+
+ +
+
+SetMultiplicativeDepth(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetNoiseEstimate(self: openfhe.CCParamsBFVRNS, arg0: float) None
+
+ +
+
+SetNumAdversarialQueries(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetNumLargeDigits(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetPREMode(self: openfhe.CCParamsBFVRNS, arg0: openfhe.ProxyReEncryptionMode) None
+
+ +
+
+SetPlaintextModulus(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetRingDim(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetScalingModSize(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetScalingTechnique(self: openfhe.CCParamsBFVRNS, arg0: openfhe.ScalingTechnique) None
+
+ +
+
+SetSecretKeyDist(self: openfhe.CCParamsBFVRNS, arg0: openfhe.SecretKeyDist) None
+
+ +
+
+SetSecurityLevel(self: openfhe.CCParamsBFVRNS, arg0: openfhe.SecurityLevel) None
+
+ +
+
+SetStandardDeviation(self: openfhe.CCParamsBFVRNS, arg0: float) None
+
+ +
+
+SetStatisticalSecurity(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+
+SetThresholdNumOfParties(self: openfhe.CCParamsBFVRNS, arg0: int) None
+
+ +
+ +
+
+

CryptoParamsBGVRNS

+
+
+class openfhe.CCParamsBGVRNS
+

Bases: pybind11_object

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

CryptoParamsCKKSRNS

+
+
+class openfhe.CCParamsCKKSRNS
+

Bases: pybind11_object

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