B-2.2 Encryption

1.
Suppose we have a plaintext m t to encrypt.
2.
Randomly pick a vector a qk (of length k) as a one-time random public mask (denoted as a $qk).
3.
Randomly pick a small one-time noise e q sampled from the Gaussian distribution χσ (denoted as e χσq).
4.
Scale m by Δ, which is to compute Δ m. This converts m t into Δ m q.
5.
Compute b = a s + Δ m + e q.

The LWE encryption formula is summarized as follows:

Summary B-2.2 LWE Encryption

Initial Setup: Δ = q t, s ${1,0,1}k, where t divides q

Encryption Input: m t, a $qk, e χσq

1.
Scale up mΔ m  q
2.
Compute b = a s + Δm + e(𝑚𝑜𝑑q)
3.
𝖫𝖶𝖤s,σ(Δm + e) = (a,b)  qk+1