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

question #12

Open
taxuexunshang opened this issue Nov 14, 2022 · 2 comments
Open

question #12

taxuexunshang opened this issue Nov 14, 2022 · 2 comments

Comments

@taxuexunshang
Copy link

Hello, when using your codebase, I found that the plaintext space is rather small, can you please guide me how to expand the plaintext space?

@taxuexunshang
Copy link
Author

Hello, we have adjusted the parameters according to the lattigo library and modified the file, but the homomorphic multiplication of a large value (such as 100.0) still fails to get the correct result. The parameters we choose are as follows:

  • PRIMES {0x4000000120001, 0x10000140001, 0xffffe80001}
  • SPECIAL_PRIMES {0x40000001b0001, 0x3ffffffdf0001, 0x4000000270001}
  • Parameters parametersEval((1ULL << 40), 32768, PRIMES, SPECIAL_PRIMES)

Is there any solution? I look forward to your reply.

@andru47
Copy link
Owner

andru47 commented Feb 20, 2023

Hi @taxuexunshang, I just saw this question. I think the value 100 is too big for that scale - did you try decreasing the scale?

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