# FHE Meeting #1: kickoff

**URL:** <https://forum.anoma.net/t/fhe-meeting-1-kickoff/173>\
**Category:** FHE kindergarten\
**Created:** [August 3, 2023, 8:26pm UTC](https://forum.anoma.net/t/fhe-meeting-1-kickoff/173 "2023-08-03T20:26:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vveiln](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.anoma.net/vveiln/32/60_2.png) [@vveiln](https://forum.anoma.net/u/vveiln)\
**Post date:** [August 3, 2023, 8:26pm UTC](https://forum.anoma.net/t/fhe-meeting-1-kickoff/173/1 "2023-08-03T20:26:17Z")

</div>

**Date:** 17.08.23  
**Time:** 4pm CEST  
**Reading materials:**

- [Introduction to HE by KU Leuven research group](https://www.esat.kuleuven.be/cosic/blog/co6gc-homomorphic-encryption-part-1-computing-with-secrets/)
- [Ronald Rivest, Leonard Adleman and Mike Dertouzos: On Data banks and privacy Homomorphisms](https://luca-giuzzi.unibs.it/corsi/Support/papers-cryptography/RAD78.pdf)
- [Shafi Goldwasser and Silvio Micali: Probabilistic encryption](https://people.csail.mit.edu/silvio/Selected%20Scientific%20Papers/Encryption/Probabilistic_Encryption.pdf)

---

<div class="post-metadata">

**Author:** ![vveiln](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.anoma.net/vveiln/32/60_2.png) [@vveiln](https://forum.anoma.net/u/vveiln)\
**Post date:** [August 15, 2023, 9:19am UTC](https://forum.anoma.net/t/fhe-meeting-1-kickoff/173/2 "2023-08-15T09:19:14Z")

</div>

Let’s skip the last paper from the list, it doesn’t seem to be super relevant. If you want to read more stuff, consider taking a look at the fresh FHE blogposts (optional):

- [Google: Expanding our Fully Homomorphic Encryption offering](https://developers.googleblog.com/2023/08/expanding-our-fully-homomorphic-encryption-offering.html)
- [Ingonyama: Solving LLM privacy with FHE](https://medium.com/@ingonyama/solving-llm-privacy-with-fhe-3486de6ee228)

---

<div class="post-metadata">

**Author:** ![graphomath](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.anoma.net/graphomath/32/9_2.png) [@graphomath](https://forum.anoma.net/u/graphomath)\
**Post date:** [August 17, 2023, 7:19am UTC](https://forum.anoma.net/t/fhe-meeting-1-kickoff/173/3 "2023-08-17T07:19:16Z")

</div>

For the skipped paper, this one looks like (one of) the main contribution(s).

> Let g\colon M \to V be a nonconstant function m. Assume that the message space M has some probability distribution. Accordingly, let p\_v = \mathrm{prob}\bigl(g(m) = v \mid m \in M\bigr) for each v \in V, and let \bar v \in V be such that p\_{\bar v} = \max\_{v \in V} p\_v. Then, without any special ability, an adversary given the cyphertext, can always guess the value of g over the cleartext and be correct with probability p\_{\bar v}. We prove that for a probabilistic encryption scheme, an adversary, given the cyphertext, cannot guess the value of g over the cleartext with probability better than p\_{\bar v}. Note that g needs not be polynomially computable, or even recursive. Thus, our encryption model passes a polynomially bounded version of Shannon’s _perfect secrecy_ definition […].
> 
> This property enabled Goldwasser and Micali [[11]](https://dl.acm.org/doi/10.1145/800070.802212) to device a scheme for Mental Poker for which, under the Quadratic Residuosity Assumption, no partial information about cards that should remain hidden can be easily computed.

---

<div class="post-metadata">

**Author:** ![graphomath](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.anoma.net/graphomath/32/9_2.png) [@graphomath](https://forum.anoma.net/u/graphomath)\
**Post date:** [August 17, 2023, 7:21am UTC](https://forum.anoma.net/t/fhe-meeting-1-kickoff/173/4 "2023-08-17T07:21:54Z")

</div>

Here’s a course for modern cryptography in general.

[https://www3.cs.stonybrook.edu/~omkant/CSE594\_S17G\_Modern\_Cryptography.html](https://www3.cs.stonybrook.edu/~omkant/CSE594_S17G_Modern_Cryptography.html)

---

<div class="post-metadata">

**Author:** ![vveiln](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.anoma.net/vveiln/32/60_2.png) [@vveiln](https://forum.anoma.net/u/vveiln)\
**Post date:** [August 17, 2023, 3:32pm UTC](https://forum.anoma.net/t/fhe-meeting-1-kickoff/173/5 "2023-08-17T15:32:42Z")

</div>

We had the first FHE kindergarten meeting today! 🎉

Attendees: Terence, Park, Patrick, Tobias, Yulia, James (partially)

### Notes

#### Introduction to HE

**Homomorphic encryption** refers to encryption schemes that allow performing operations on encrypted data. Usually we talk about addition and multiplication.

There are three types of FHE algorithms:

- **partial** HE - can do addition or multiplication, but not both (e.g. El Gamal, Paillier).
- **somewhat** HE - can do both, but limited amount of times (e.g. Boneh et al.).
- **fully** HE - can do both unlimited amount of times (e.g. Gentry09).

The problem with FHE is that performing addition and multiplication on encrypted data increases the amount of noise in the data. After a certain point the amount of noise is so high that it starts to interfere with plaintext and decryption might give a wrong result. **Bootstrapping** is way to reduce the noise in encrypted data.

#### On data banks and privacy homomorphisms

Imagine a loan company that is sharing a computer with other companies. How to protect the data processed on this computer? The authors come up with 4 options, which include HE, which they refer to as privacy homomorphisms.

So **privacy homomorphism** is a homomorphism that translates data between the algebraic systems of a user and a computer so that there is a mapping between operations of these systems and it preserves privacy.

**Fact** : if there is a way to compare encrypted data to known constants, privacy homomorphism doesn’t preserve privacy.

### Open questions:

- Can we see FHE as a category?
- Do we want to have homework? Tobias volunteered to prepare exercises, so far they are optional
