Overview
YUENIX-FHE is a GPU library for the CKKS fully homomorphic encryption scheme. CKKS encrypts vectors of real or complex numbers and lets a server add, multiply and rotate them while they stay encrypted. Results are approximate, with a precision set by the chosen parameters.
The library runs on NVIDIA GPUs and is distributed as a binary SDK: a shared library, a C header, a Python package, the parameter profiles and the license files.
Components
Section titled “Components”| Component | What it provides |
|---|---|
| CKKS core | Encoding, encryption, decryption, addition, multiplication, rotation, conjugation and rescaling on the GPU |
| Bootstrapping | Refreshes a ciphertext’s levels so computation can continue, using fixed or custom profiles |
| Transciphering | Converts AES-128-CTR or AES-128-GCM ciphertext into CKKS ciphertexts on the server |
| Aggregation | Sums, means, weighted sums and pairwise distances over many encrypted vectors, plus robust selection presets |
| Comparison | Compare, threshold, minimum and maximum, rank, top-k and sort on encrypted values |
| Serialization | Moves evaluation keys and ciphertexts between the key holder and the evaluator |
Every deployment has two roles.
- The key holder generates the secret key, encrypts inputs or registers AES keys, and decrypts results.
- The evaluator holds only public evaluation keys and computes on ciphertexts.
The two roles can run in one process for testing, or on separate machines in production. See Keys, roles and deployment.
Interfaces
Section titled “Interfaces”- C ABI (
yuenix.h,libyuenix.so.1): opaque handles, explicit ownership, and status codes. See the C API reference. - Python (
import yuenix): context managers, NumPy arrays and typed signatures over the same C ABI. See the Python API reference.