Skip to contents

Plaintext

Usage

Plaintext(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

An S7 object of class Plaintext, inheriting from OpenFHEObject, whose ptr property holds an external pointer to the C++ plaintext. A plaintext holds an encoded but unencrypted vector together with its encoding type; obtain one from a make_*_plaintext() factory or from decrypt() rather than by calling this constructor directly, and read its contents with get_packed_value(), get_real_value() and the other accessors.