initc3 / HoneyBadgerMPC

Robust MPC-based confidentiality layer for blockchains
GNU General Public License v3.0
128 stars 64 forks source link

Comparisons and other operations from Viff #27

Closed amiller closed 5 years ago

amiller commented 6 years ago

Viff comes with support for several useful operations, such as comparing greater than / less than / equality for integers, splitting integers into parts, etc. see this for example https://github.com/amiller/viff/blob/master/apps/compare.py

~- [ ] Bit decomposition~

hanyunx commented 5 years ago

For Equality Testing, a potential way is [NO07]. It provides the following solutions:

amiller commented 5 years ago

https://github.com/initc3/HoneyBadgerMPC/blob/4dc26133030aebe31d70b239d502fac6a8c8afa5/honeybadgermpc/passive.py#L393 work in progress