This is an implementation of the function-hiding inner product encryption scheme described here: (link to be posted)
This implementation is a research prototype built for micro-benchmarking purposes, and is not intended to be used in production-level code as it has not been carefully analyzed for potential security flaws.
Authors:
- Kevin Lewi, Stanford University
- Sam Kim, Stanford University
- Avradip Mandal, Fujitsu Laboratories of America
- Hart Montgomery, Fujitsu Laboratories of America
- Arnab Roy, Fujitsu Laboratories of America
- David J. Wu, Stanford University
Contact Kevin Lewi for questions about the code: [email protected]
Make sure you have the following installed:
git clone --recursive https://github.com/kevinlewi/fhipe.git
cd fhipe
sudo make install (use `make install-mac` if running on MAC OS X)
python3 tests/test_ipe.py
This library ships with the following modules:
- Inner Product Encryption: In fhipe/ipe.py, implements function-hiding inner product encryption
- Two-input Functional Encryption. In fhipe/mife.py, implements secret-key small-domain two-input functional encryption for arbitrary functions
We rely on the following two submodules: