Comments (4)
By the way, kudos to implementing this package in pure Julia, this has been a great help to kick around a few ideas 👍
from toyfhe.jl.
Whoops, there's a typo in the blog post, obviously, you need to pass the private key to decrypt it. In your MWE:
julia> decrypt(kp.priv, circshift(c, gk))
8-element CKKSEncoding{FixedRational{1099511627776,T} where T} with indices 0:7:
-18.506166149368628 + 7.60456192425713im
40.80057950134403 + 8.450631478608264im
-20.786099653978496 - 5.443269584828531im
-16.50816701251562 - 0.3042282041572637im
-19.25951679089231 - 29.497772481885757im
21.089374991774747 - 16.74889104138221im
2.5942574658725626 + 9.605495431441932im
9.309505110847219 - 15.199594797590228im
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.
from toyfhe.jl.
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.
from toyfhe.jl.
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.
from toyfhe.jl.
Related Issues (10)
- Clean up Ring Element type
- I wonder which is your julia verision HOT 5
- MNIST example does not work on Julia master HOT 1
- Eventually register this package in the General registry
- Write documentation HOT 1
- Pick smaller instances for the tests
- Function for loading a package with a specific manifest
- UndefVarError: FmpzModRing not defined HOT 2
- Document the version of Julia that generated the Manifest.toml? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toyfhe.jl.