Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hardbyte/paillier.jl
A Julia implementation of the Paillier partially homomorphic encryption system
https://github.com/hardbyte/paillier.jl
cryptography encrypted-numbers homomorphic-encryption homomorphic-encryption-library julia paillier
Last synced: about 1 month ago
JSON representation
A Julia implementation of the Paillier partially homomorphic encryption system
- Host: GitHub
- URL: https://github.com/hardbyte/paillier.jl
- Owner: hardbyte
- Created: 2018-12-23T10:03:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-08T06:03:59.000Z (about 4 years ago)
- Last Synced: 2024-10-11T14:41:15.703Z (about 1 month ago)
- Topics: cryptography, encrypted-numbers, homomorphic-encryption, homomorphic-encryption-library, julia, paillier
- Language: Julia
- Homepage:
- Size: 306 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Paillier.jl** is a [Julia](http://julialang.org/) package implementing the basics of
the *Paillier* partially homomorphic cryptosystem.[![Build Status](https://travis-ci.org/hardbyte/Paillier.jl.svg?branch=master)](https://travis-ci.org/hardbyte/Paillier.jl)
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://hardbyte.github.io/Paillier.jl/dev)The homomorphic properties of the paillier crypto system are:
* Encrypted numbers can be multiplied by a non encrypted scalar.
* Encrypted numbers can be added together.# Warning - Here be dragons.
This is rough! Don't use for anything serious yet! Not reviewed by a cryptographer.
Constant time functions have not been used, so this could be susceptible to timing
side channel attacks.We don't obfuscate the results of encrypted math operations by default. This is an
optimization copied from `python-paillier`, however after any homomorphic operation -
before sharing an `EncryptedNumber` or `EncryptedArray` you must call `obfuscate()`
to secure the ciphertext. Ideally this will occur behind the scenes at serialization
time, but this library does not help with serialization (yet).Based off the [sketch](https://github.com/snipsco/paillier-libraries-benchmarks/tree/master/julia-sketch)
written by [Morten Dahl](https://github.com/mortendahl) at [Snips](https://snips.ai), and the
[python-paillier](https://github.com/data61/python-paillier) library written by
[CSIRO's Data61](https://data61.csiro.au) as part of N1 Analytics.