API Reference

Top-level package

pyfe4ai: Python Functional Encryption for AI Security and Privacy.

The package exports its entry points:

The scheme classes themselves are exported by the family packages pyfe4ai.schemes.sife, mife, mcfe and quadratic, the ML adapter by pyfe4ai.ml.

pyfe4ai exports the entry points of the library:

The scheme classes are exported by the family packages (pyfe4ai.schemes.sife, mife, mcfe, quadratic), named after their scheme’s id (see pyfe4ai.core.registry). The status and security-profile modules are documented on Security & Status.

Public and internal modules

Public – what applications use; changes are listed in the changelog (from version 0.3.0: Upgrading from 0.3.0):

Internal – documented here for contributors and reviewers; they may change in any version without notice:

The package is organised in layers: