GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rinon/Simple-Homomorphic-Encryption: Sample implementation of "Fully Homomorphic Encryption over the Integers" by van Dijk, et. al.

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
README
README
 
 
circuit.cpp
circuit.cpp
 
 
circuit.h
circuit.h
 
 
demo_vote_counter.cpp
demo_vote_counter.cpp
 
 
demo_vote_counter.h
demo_vote_counter.h
 
 
fully_homomorphic.cpp
fully_homomorphic.cpp
 
 
fully_homomorphic.h
fully_homomorphic.h
 
 
main.cpp
main.cpp
 
 
makefile
makefile
 
 
security_settings.cpp
security_settings.cpp
 
 
security_settings.h
security_settings.h
 
 
test_suite.cpp
test_suite.cpp
 
 
type_defs.h
type_defs.h
 
 
utilities.c
utilities.c
 
 
utilities.h
utilities.h
 
 

Repository files navigation

Implementation of a Simply Homomorphic Encryption Scheme.

This is an implementation of a integer-only fully homomorphic
encryption scheme devised by van Dijk et
al. (http://eprint.iacr.org/2009/616). While this scheme is certainly
not the most efficient homomorphic encryption scheme devised to date,
it remains comparatively simple, which could be beneficial for those
who are interested in learning the basics of modern homomorphic
encryption schemes.

Status:

Implementation is finished, although the third stage of the decryption
circuit seems to be too deep to practically evaluate it with this
implementation. More documentation will be written soon, but to see a
sample usage of this project, check out demo_vote_counter.cpp.

Compilation:

Requirements:
GNU g++ compiler
make

To compile, simply run make in the source directory.
To compile the test suite, run "make test".
To compile a sample application based on this project (see below), run "make demo".

Demo project (Vote Counting):

The vote counter encrypts each vote as a bit vector where each bit
corresponds to the vote for the respective candidate (only one bit in
the vector should be 1, since this application assumes only one
candidate can be voted for). It then homomorphicaly evaluates an
addition circuit on the vectors, and decrypts the resulting vectors,
showing the results of the election.

Although this is an overly simple application of fully homomorphic
encryption, the additions are performed using the dynamic programming
approach used in step 2 of the decryption circuit as described in the
paper above, as a proof of concept for that step.

About

Sample implementation of "Fully Homomorphic Encryption over the Integers" by van Dijk, et. al.

Resources

Readme
Activity

Stars

39 stars

Watchers

5 watching

Forks

11 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.