by staticassertion · 5y ago · 0 comments
https://github.com/facebookresearch/Cupcake/blob/main/exampl...
Looks really straightforward. For reference, output for the above program:
Encrypting a constant vector v of 1s...decrypted v: [1, 1, ..., 1]
Encrypting a constant vector w of 2s...decrypted w: [2, 2, ..., 2]
Decrypting the sum...decrypted v+w: [3, 3, ..., 3]
Decrypting the sum...decrypted v+w+w: [5, 5, ..., 5]
No comments yet.