[parent][next]
Let [0,t −1) be the plaintext range, and [0,q −1) the ciphertext range, where t < q (t is much smaller than q). Randomly pick a vector s→ of length k comprising k ternary numbers sampled from {−1,0,1}as a secret key (denoted as s→ ←${−1,0,1}k). Let Δ = q t, the scaling factor of plaintext.