she-wasm

Build Status

Two-level homomorphic encryption for Node.js by WebAssembly

Abstract

This library supports two kinds of lifted ElGamal encryption,

For two vectors x = (x1, …, xn) and y = (y1, …, yn), EncG1(x1) * EncG2(y1) + … + EncG1(xn) * EncG2(yn) = EncGT(x1 * y1 + … + xn * yn).

see mcl

News

Demo

for Node.js

node test

How to use

The version v0.7.0 breaks backward compatibility of the entry point.

Doc

How to build

Install Emscripten.

git submodule update --init --resurcive
cd src
make

License

modified new BSD License http://opensource.org/licenses/BSD-3-Clause

Author

MITSUNARI Shigeo(herumi@nifty.com)

Sponsors welcome

GitHub Sponsor