HElib
HElib: A free, self-hosted C++ library for low-level BGV and CKKS development. Ranked #26 of 31 in Privacy-Enhancing Computation Software by our editors (6.8/10); pricing: Free plan; best for low-level BGV and CKKS development.
At a glance
- Editor score6.8 / 10
- PricingFree plan
- Best forLow-level BGV and CKKS development
- Free planYes
- Paid fromFree
- DeploymentSelf_hosted
- Facts checked23 Nov 2026
Where it wins
- Supports BGV bootstrapping and CKKS approximate-number encryption
- Provides packing, noise management, multithreading and serialization APIs
- Integrates with NTL, GMP, CMake and optional Intel HEXL acceleration
Where it doesn't
- Requires self-hosted deployment and local development infrastructure
- Low-level APIs demand C++17 and mathematical-library familiarity
- Community and documentation are the listed support channels
Our verdict on HElib
HElib is an open-source C++17 library for developers implementing homomorphic encryption. It supports the BGV scheme with bootstrapping and the approximate-number CKKS scheme, alongside low-level routines for plaintext, ciphertext and homomorphic operations. Ciphertext packing optimizations, Gentry–Halevi–Smart optimizations, automatic noise management and multithreaded evaluation target teams building privacy-preserving computation directly into their applications. Linux and macOS are supported, with self-hosted deployment and Apache License 2.0 distribution.
There is no paid tier to evaluate: the published model is open source with a free plan and a starting price of 0. HElib builds with NTL and GMP, uses CMake, and can optionally use Intel HEXL for acceleration. Binary and JSON serialization APIs support moving cryptographic objects through application workflows, while examples and CKKS tutorials provide implementation references. These integrations suit engineers who already manage native C++ build systems and mathematical dependencies rather than teams seeking a hosted endpoint or graphical administration layer.
The library’s main strength is depth at the cryptographic operation level. BGV bootstrapping, CKKS arithmetic, packing, noise handling and multithreading give developers control over scheme-specific behavior and performance choices. That focus also defines its boundary: deployment, application architecture and operational management remain the adopter’s responsibility, and the listed scope does not include federated learning, secure MPC or confidential hardware. The repository’s latest displayed release information is from 2021, while the project remains publicly available. Choose HElib for direct, low-level BGV or CKKS engineering; choose a different product when you need a managed service or a broader privacy-computing stack.
Your product? Our editors can test HElib in depth and publish a review, labelled as paid · from $149/mo →
HElib pricing
HElib fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Deployment | Self_hosted |
| Supported methods | homomorphic encryption; BGV; CKKS |
| Federated learning | No |
| Secure multiparty compute | No |
| Homomorphic encryption | Yes |
| Confidential hardware | No |
| Maximum participants | Not verified |
| Deployment | Self-hosted |
| Platforms | Linux, macOS |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 4 integrations: NTL, GMP, Intel HEXL, CMake |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 23 Nov 2026 |
HElib integrations
HElib lists 4 integrations on its own site.
- NTL
- GMP
- Intel HEXL
- CMake
Alternatives to HElib
- AWS Clean RoomsA managed AWS clean room for privacy-controlled analytics, matching, and machine learning.9.4
- Alibaba Cloud Privacy-Preserving Computation (AntPPC)Federated and multiparty privacy workflows with visual management for enterprise teams.9.3
- Azure Confidential ComputingA broad Azure portfolio for isolating sensitive data during processing.9.2
Used HElib? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used HElib for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
HElib is listed in our Privacy-Enhancing Computation Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/helib/"><img src="https://www.itechguides.com/best/badge/helib.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update
