Bit decomposition
Previous constructions were intentionally circumventing bit-decomposition protocol, as it is more heavy than any of them. However, sometimes bit decomposition is necessary.
This functionality takes a shared value and produces a shared bitstring .
- , calculate
- Open , denote its bit decomposition. Denote the bit decomposition of .
- Calculate .
- Set
- //obtained using bitstring subtraction