Two-level homomorphic encryption for Node.js by WebAssembly
Abstract
see mcl
News
- 2020/Nov/06
sec.decWithZkpDec(c, pub)
returns[m, zkp]
thatzkp
provesdec(c) = m
, andpub.verify(c, zkp, m)
returns the correctness.
Demo
for Node.js
node test
Doc
- Efficient Two-level Homomorphic Encryption in Prime-order Bilinear Groups and A Fast Implementation in WebAssembly, N. Attrapadung, G. Hanaoka, S. Mitsunari, Y. Sakai, K. Shimizu, and T. Teruya. ASIACCS 2018
- slide for ASIA CCS 2018 in English
- slide for SCIS 2018 in Japanese
- she-api
- she-api(Japanese)
How to build
Install emsdk
mkdir work
cd work
git clone git@github.com:herumi/mcl
git clone git@github.com:herumi/she-wasm
cd mcl
make she-wasm
License
modified new BSD License http://opensource.org/licenses/BSD-3-Clause
Author
MITSUNARI Shigeo(herumi@nifty.com)