View source: R/methods-encrypt.R
| make_packed_plaintext | R Documentation |
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)
cc |
A |
values |
An integer vector to pack. Length must not exceed
|
noise_scale_deg |
Integer degree of the initial scaling
factor applied to the encoded plaintext. Defaults to |
level |
Integer target level in the RNS modulus chain.
Defaults to |
A Plaintext.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.