Skip to contents

Public Key

Usage

PublicKey(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

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