bin_bootstrap: Bootstrap an LWE ciphertext

View source: R/binfhe-keys.R

bin_bootstrapR Documentation

Bootstrap an LWE ciphertext

Description

Refreshes a ciphertext without applying a gate.

Usage

bin_bootstrap(ctx, ct, extended = FALSE)

Arguments

ctx

A BinFHEContext with bootstrapping keys.

ct

An LWECiphertext.

extended

Logical; if TRUE the result is returned before key switching (modulus Q, dimension N). Default FALSE.

Value

An LWECiphertext.

See Also

eval_bin_gate()


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.