Documentation Index
Fetch the complete documentation index at: https://mintlify.com/octra-labs/pvac_hfhe_cpp/llms.txt
Use this file to discover all available pages before exploring further.
What is PVAC-HFHE?
PVAC-HFHE is a fully homomorphic encryption (FHE) library that enables computation on encrypted data without decryption. Built on the assumption of binary parity for learning with noise and arithmetic operations over a 127-bit prime field, it provides a practical implementation for privacy-preserving computation.This is a proof-of-concept implementation from early 2024, based on research from the Moscow Institute of Physics and Technology (MIPT) on threshold behavior and fractional colorability of random hypergraphs.
Key features
Homomorphic operations
Perform addition, subtraction, and multiplication on encrypted values without exposing plaintext data.
127-bit prime field
Operations over a large prime field provide strong security guarantees while maintaining efficiency.
Syndrome graph construction
Uses a dense random k-uniform hypergraph for efficient cryptographic operations.
Header-only library
Simple integration with just
#include <pvac/pvac.hpp> and C++17 compiler support.Quick example
Here’s a taste of what you can do with PVAC-HFHE:Use cases
Privacy-preserving machine learning
Privacy-preserving machine learning
Train and evaluate ML models on encrypted data, enabling secure data collaboration without exposing sensitive information.
Secure cloud computation
Secure cloud computation
Offload computation to untrusted cloud servers while keeping your data encrypted end-to-end.
Confidential analytics
Confidential analytics
Perform statistical analysis and aggregations on encrypted datasets without revealing individual values.
Encrypted database queries
Encrypted database queries
Execute queries on encrypted databases, maintaining data privacy even during computation.
Get started
Installation
Set up PVAC-HFHE in your C++17 project in minutes.
Quickstart
Build your first homomorphic encryption application.
Core concepts
Understand the cryptographic foundations of PVAC-HFHE.
API reference
Explore the complete API documentation.
Requirements
PVAC-HFHE has minimal dependencies:- C++ Standard: C++17 or later
- Compiler: GCC 9+, Clang 10+, or MSVC 2019+
- CPU: x86-64 architecture with PCLMUL support (recommended for optimal performance)