Skip to contents

Private Key

Usage

PrivateKey(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

An S7 object of class PrivateKey, inheriting from OpenFHEObject, whose ptr property holds an external pointer to the C++ secret key. This is the key decrypt() takes; obtain one as the secret element of the KeyPair returned by key_gen() rather than by calling this constructor directly.