Haskell implementation of the CLT13 multilinear map, modified to be asymmetric (uses indices instead of levels).
It's pretty fast, but not as fast as the C one in Alex Malozemoff's obfuscation implementation.
This project exits to help me debug an obfuscation project. It isn't intended for much more than that.
See Test.hs for example usage.
Setup parameters:
- kappa: the maximum number of multiplications in a top-level encoding
- lambda: security parameter, used to set 50% of the other parameters
- nzs: the number of distinct indices in a toplevel encoding
- topLevelIndex: the actual index-set of a toplevel encoding, used to communicate the powers to the setup routine
Licenced under WTFPLv2