Concrete compiles Python functions into homomorphic encryption circuits so developers can compute on ciphertext. It offers a Python API, GPU acceleration, and automatic parameters.
Overview
Concrete is an open-source fully homomorphic encryption compiler from Zama. It is built on TFHE technology and LLVM and targets developers who want to run computations on encrypted data without hand-writing cryptographic programs.
You define a Python function, compile it into a Concrete circuit, and evaluate that circuit on encrypted inputs. The library emphasizes a simple Python surface, built-in security guarantees, automatic cryptographic parameter selection, and performance analysis helpers.
GPU-accelerated builds are available alongside CPU-only PyPI packages, and Docker images support multiple platforms including Linux, Windows, and macOS per the installation matrix. Concrete ML is a separate machine-learning-oriented layer built on top of this core.
FHE lets services process sensitive payloads while data stays encrypted, which the project describes as useful when servers might be compromised because plaintext need not be exposed on the host.
Key features
- Python API for FHE programs
- TFHE and LLVM-based compilation
- GPU acceleration option
- Automatic parameter selection
- Built-in performance analysis tools
- PyPI and Docker installation paths
- Circuit-based homomorphic evaluation
Use cases
- Encrypted-data cloud analytics
- Privacy-preserving application logic
- Research prototypes with FHE
- Foundation for Concrete ML models