snucrypto / HEAAN

Other
359 stars 94 forks source link

Is there a way to find the modulus of the ciphertext? #27

Closed jayavanth closed 5 years ago

jayavanth commented 5 years ago

Or is there a way I can estimate it based on what operations I'm doing? e.g. addition, multiplication?

kimandrik commented 5 years ago

Hello, ciphertext modulus bits is cipher.logq

KyoohyungHan commented 5 years ago

Ciphertext modulus is cipher.logq

and I want to note that in case of HEAAN, there is no plaintext modulus. It just do operations on complex field :)