Skip to content

blog/2024/01/03/fully-homomorphic-encryption #2

Open

Activity

  1. j2kun commented on Apr 28, 2024

    @j2kun

    Nice article! One minor nitpick: rounding the noisy plaintext is part of decryption (in fact, the hardest part!) and you treat it as part of decoding a plaintext.

    If rounding were not part of decryption, then one could implement bootstrapping without all that blind rotate magic, because the first step in bootstrap is to homomorphically apply b - <a,s>, a linear operation. Sec 5.2 of https://eprint.iacr.org/2021/1402 explains this in a bit more detail.

  2. lowdanie commented on Apr 29, 2024

    @lowdanie
    Owner

    Thanks!

    I completely agree that it is possible to homomorphically evaluate b - <a,s> much more easily using homomorphic addition and multiplication. However, wouldn't we still need some sort of blind rotate magic to bound the output error?

    Also, thanks for the link to that article - it looks great!

  3. j2kun commented on Apr 29, 2024

    @j2kun

    Yes, what I'm saying is your LWE decryption implementation does not round, so it is not technically the complete decryption operation. Putting the rounding as part of decoding is slightly misleading, in my opinion, because of this relationship to homomorphic decryption, which must include that step.

    But it is a very minor quibble.

  4. lowdanie commented on May 1, 2024

    @lowdanie
    Owner

    That makes sense - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    commentblog post comment

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions