-
Notifications
You must be signed in to change notification settings - Fork 12
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
decrypt(circshift(c, gk))
does not work with Julia 1.5.0-beta1
#16
Comments
By the way, kudos to implementing this package in pure Julia, this has been a great help to kick around a few ideas 👍 |
Whoops, there's a typo in the blog post, obviously, you need to pass the private key to decrypt it. In your MWE:
I'll fix the blog post. Sorry for missing this issue. In the future, please feel free to just ping me directly on issues here. |
Although now that I actually look at the output, the noise obviously took over here. It's been a while since I thought about FHE noise growth, so I'm not quite sure what the issue is. |
Hmm works fine with the parameter choices in the test suite: https://github.com/JuliaCrypto/ToyFHE.jl/blob/master/test/ckks_rotate.jl. Not sure whether there's an actual issue here. Unfortunately, if there is, it'd be something subtle about the noise behavior, which is beyond the level of time commitment I have available to look into issues here. That said, hopefully you should be able to use the parameters in the test suite for experimentation if you want. |
I've tried to run the introductory examples on https://juliacomputing.com/blog/2019/11/22/encrypted-machine-learning.html with Julia 1.5.0-beta1. When I reached the
circshift
test, Julia threw the following error:Here's an MWE:
Any idea what the problem could be?
The text was updated successfully, but these errors were encountered: