API reference

Main Classes

Pyfhel([context_params, key_gen, ...])

Context class encapsulating most of the Homomorphic Encryption functionalities.

PyCtxt(PyCtxt copy_ctxt=None, Pyfhel pyfhel=None)

Ciphertext class of Pyfhel, contains a value/vector of encrypted ints/doubles.

PyPtxt(PyPtxt copy_ptxt=None, Pyfhel pyfhel=None)

Plaintext class of Pyfhel, contains a value/vector of encoded ints/double.

PyPoly(PyPoly other=None, PyCtxt ref=None, ...)

Polynomial class of Pyfhel with the underlying data of a PyCtxt/PyPtxt.

Utils

utils.Scheme_t(value)

An Enum to define the scheme type

utils.Backend_t(value)

An Enum to define the backend