Skip to contents

LWE Private Key (Binary FHE)

Usage

LWEPrivateKey(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

An S7 object of class LWEPrivateKey, inheriting from OpenFHEObject, whose ptr property holds an external pointer to the C++ LWE secret key. It both encrypts and decrypts in the boolean-circuit (BinFHE) schemes; obtain one from bin_key_gen() rather than by calling this constructor directly.