Skip to content

Instantly share code, notes, and snippets.

Working from home

Ayoub Benaissa youben11

Working from home
View GitHub Profile
youben11 /
Last active May 17, 2020
Implementation of an homomorphic encryption scheme with numpy based on the ring learning with error problem
"""A basic homomorphic encryption scheme inspired from BFV
Disclaimer: This implementation doesn’t neither claim to be secure nor does it follow software engineering best practices,
it is designed as simple as possible for the reader to understand the concepts behind homomorphic encryption schemes.
import numpy as np
from numpy.polynomial import polynomial as poly
# Functions for random polynomial generation
You can’t perform that action at this time.