Suppose we have an -degree
polynomial
whose coefficients represent the plaintext numbers to encrypt.
2.
Randomly pick an -degree
polynomial
as a one-time public key (denoted as ).
3.
Randomly pick a small polynomial
as a one-time noise, whose
coefficients are small numbers in
randomly sampled from the Gaussian distribution
(denoted as ).
4.
Scale
by ,
which is to compute .
This converts
into .
5.
Compute
(i.e., reduce the degree by
and the coefficient by modulo ).
6.
The final ciphertext is .
The RLWE encryption formula is summarized as follows: