eval_constant: A constant as an LWE ciphertext

View source: R/binfhe-keys.R

eval_constantR Documentation

A constant as an LWE ciphertext

Description

Returns a ciphertext of the Boolean value that needs no key: a trivial encryption, for use as a constant input of a gate.

Usage

eval_constant(ctx, value)

Arguments

ctx

A BinFHEContext.

value

Logical.

Value

An LWECiphertext.


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