Expand description
fancy-garbling provides boolean and arithmetic garbling capabilities.
Modules§
- classic
- Provides objects and functions for statically garbling and evaluating a circuit without streaming.
- util
- Tools useful for interacting with
fancy-garbling.
Structs§
- Evaluator
- Streaming evaluator using a callback to receive ciphertexts as needed.
- Garbler
- Streams garbled circuit ciphertexts through a callback.
- Wire
Mod2 - Representation of a
mod-2wire. - Wire
Mod3 - Representation of a
mod-3wire. - Wire
ModQ - Representation of a
mod-qwire.
Enums§
Traits§
- Arithmetic
Wire - A marker trait indicating that the given
WireLabelinstantiation supports arithmetic operations. - 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.
Functions§
- hash_
wires - Hash a batch of wires, using the same tweak for each wire.