Learn R Programming

openfhe.R (version 1.6.1)

relinearize: Relinearize a higher-degree ciphertext

Description

Reduces a ciphertext to 2 polynomial components. Needed after a sequence of eval_mult_no_relin() calls to restore a decryptable form. A relinearization key must have been generated via key_gen(cc, eval_mult = TRUE) before calling this.

Usage

relinearize(x, ...)

Value

A Ciphertext with exactly 2 components.

Arguments

x

A Ciphertext (may have more than 2 components).

...

Reserved for future method-specific arguments.