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 to compute number with 256 bits? #236

Open
LeoLi0018 opened this issue May 14, 2024 · 4 comments
Open

How to compute number with 256 bits? #236

LeoLi0018 opened this issue May 14, 2024 · 4 comments
Labels
Functionality Wether this library supports a certain operation or not

Comments

@LeoLi0018
Copy link

How can I calculate the length of a 256-bit number?

I tried to change the parameter 't', but it seems that the maximum value I can set is 60.

@LeoLi0018 LeoLi0018 added the Functionality Wether this library supports a certain operation or not label May 14, 2024
@ShokofehVS
Copy link

I searched briefly among the closed issues. Maybe this SEAL manual would help you get to know better the scheme parameters.
Further on, there was a comment here explaining that "The HE security standard does not have parameters for degree 256. By default, it will be treated as insecure".
I was also wondering in this issue, how t can be set higher than what you mentioned.

@LeoLi0018
Copy link
Author

Thanks for your answer.
Now I see, the SEAL lib constrains the individual primes can be up to 60 bits.

@ShokofehVS
Copy link

Hmm, as I didn't work with BFV scheme for a while. Does that mean you get a running execution or still you have problem?

@LeoLi0018
Copy link
Author

Since SEAL has some constrains on the parameter setting, the problem still here. So, I need to figure out a workaround solution of my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality Wether this library supports a certain operation or not
Projects
None yet
Development

No branches or pull requests

2 participants