Skip to content

jellevos/PyFHE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFHE

PyFHE is an implementation of the Brakerski-Gentry-Vaikuntanathan (BGV) scheme, along with some optimizations described in the Gentry-Halevi-Smart optimizations. This project takes HElib as reference but is simpler than HElib. It only implements some basic homomorphic operations such as multiplication and addition and does not use ciphertext packing techniques.

This project is written in Python 3.6.5 and uses Python packages sympy and numpy.

Demo

Run Test_Ctxt.py, which executes a 4 levels 4096 degree polynomial BGV encryption.

  > python Test_Ctxt.py

TODO

Use multiprocessing.

About

An implementation of BGV-FHE scheme (forked to include pyproject.toml)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%