Encode an integer vector as a BFV / BGV packed plaintext. The
result is an unencrypted Plaintext object that can then be
passed to encrypt().
make_packed_plaintext(cc, values, noise_scale_deg = 1L, level = 0L)A Plaintext.
A CryptoContext.
An integer vector to pack. Length must not exceed
batch_size set at context creation.
Integer degree of the initial scaling
factor applied to the encoded plaintext. Defaults to 1L;
only meaningful under FIXEDMANUAL scaling (under
FLEXIBLEAUTO the scheme overrides this value). Every current
vignette leaves it at the default.
Integer target level in the RNS modulus chain.
Defaults to 0L, meaning "fresh level, matching a
just-encrypted ciphertext". Set to match the level of a
ciphertext the plaintext will interact with if the ciphertext
has already been rescaled.