PrivateKey: Private Key

PrivateKeyR Documentation

Private Key

Description

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.


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