Skip to contents

BinFHE context (Binary FHE)

Usage

BinFHEContext(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

An S7 object of class BinFHEContext, inheriting from OpenFHEObject, whose ptr property holds an external pointer to the C++ boolean-circuit context. It is the BinFHE counterpart of CryptoContext and is deliberately a different class, so a CryptoContext cannot be passed where a BinFHE context belongs or the other way round. Obtain one from bin_fhe_context() rather than by calling this constructor directly.