Catalog PyPI
PACKAGE EXPLORERView in registry

advanced-bfv-fhe

PyPI

Production-grade pure Python RNS-NTT BFV Homomorphic Encryption scheme

Versions collected1
Direct dependencies1From release 0.1.0
Last observed20 Oct, 19:57 UTC

README

Version 0.1.0 documentation

advanced-bfv-fhe by Avdhut Bagal

A pure Python implementation of the Brakerski/Fan-Vercauteren (BFV) Fully Homomorphic Encryption (FHE) scheme.

This library provides a mathematically rigorous, dependency-light framework for exploring lattice-based cryptography. It implements advanced optimization techniques including the Residue Number System (RNS) and the Number Theoretic Transform (NTT) entirely in Python using NumPy.

⚠️ Disclaimer: This package is intended for educational, research, and proof-of-concept purposes. Pure Python cryptographic implementations are vulnerable to timing attacks and lack the performance required for production-grade security systems. For securing real-world sensitive data, please use established C++/Rust engines.

Features

  • Pure Python Architecture: No C++ compilers or complex Rust toolchains required to install and run.
  • Residue Number System (RNS): Avoids multi-precision arithmetic bottlenecks by decomposing large ciphertexts.
  • Number Theoretic Transform (NTT): Accelerates polynomial multiplication from $O(N^2)$ to $O(N \log N)$.
  • Relinearization: Prevents ciphertext expansion during homomorphic multiplication, keeping memory footprints manageable.

Installation

Install the package directly from PyPI using pip:

pip install advanced-bfv-fhe

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.027 Jul 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:57 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5e335981311305076cf81fe4c162e3dcc22d6b7e3d638d0f4874ff6d2bdd7bbb