Lux Docs
Fhe

Fully Homomorphic Encryption

Compute on encrypted data without decryption

Lux FHE (github.com/luxfi/fhe) enables computation on encrypted data. Smart contracts process encrypted integers and booleans without revealing underlying values.

Architecture

User → Encrypt(data) → FHE Ciphertext → Smart Contract → Compute on Ciphertext → Encrypted Result → Decrypt

                                    FHE Coprocessor (GPU)

Supported Operations

TypeOperations
BooleanAND, OR, NOT, XOR, NAND, NOR
IntegerAdd, Sub, Mul, Div, Min, Max, Comparison
TFHEFully homomorphic with bootstrapping
CKKSApproximate arithmetic on encrypted vectors

Components

ComponentDescription
fheCore Go library with TFHE/CKKS
fhe-coprocessorGPU-accelerated FHE computation workers
fhedFHE daemon for key management and decryption
fhe-contractsSolidity library for encrypted types
v1-sdk / v2-sdkJavaScript SDKs for client-side encryption

On this page