Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I set the value of plain_modulus is CKKS? #641

Open
lnazabal001 opened this issue May 6, 2023 · 1 comment
Open

How can I set the value of plain_modulus is CKKS? #641

lnazabal001 opened this issue May 6, 2023 · 1 comment

Comments

@lnazabal001
Copy link

Hello,
I need to have an specific plain_modulus in a code, and whenever I try to change it and set a value it says that it is not allowed for CKKS. How can I change that? Is there a way to set the other parameters in order to give the plain_modulus a certain value?
Thank you

@sherry-yxs
Copy link

According to my understanding, CKKS scheme does not need to set plain_modulus. Both CKKS ciphertext and plaintext use same RNS component. Please refer source code in example 2_encoders.cpp or CKKS encoding scheme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants