Expand description
Implementation of two-party garbled circuits.
The core types are Garbler and Evaluator, which implement the
circuit garbler and garbled circuit evaluator, respectively. These work in a
streaming fashion, with Garbler sending the garbled gates over the
wire as it garbles them, and Evaluator evaluating the garbled gates as
it receives them. For static garbling, see classic::GarbledCircuit.
Modules§
- classic
- Provides objects and functions for statically garbling and evaluating a circuit without streaming.
Structs§
- Evaluator
- The garbled circuit evaluator.
- Garbler
- The garbled circuit garbler.
- Wire
Mod2 - Representation of a
mod-2wire.
Traits§
- Binary
Wire Label - The
BinaryWireLabelprovides the subroutines to implement AND gates for the garbler and evaluator in [fancy_traits::FancyBinary]. - Wire
Label - A trait that defines a wirelabel as used in garbled circuits.