Learn R Programming

openfhe.R (version 1.6.1)

compress: Compress a ciphertext to fewer towers

Description

Truncates the ciphertext's RNS modulus representation to towers_left towers and sets its noise-scale-degree to noise_scale_deg. Used by the interactive multi-party bootstrapping protocol to shrink a ciphertext before sending it across the network.

Usage

compress(x, ...)

Value

A compressed Ciphertext.

Arguments

x

A Ciphertext.

...

Method-specific arguments: towers_left (integer, target tower count, default 1L), noise_scale_deg (integer, default 1L).