Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 640 Bytes

File metadata and controls

18 lines (12 loc) · 640 Bytes

Demo Implementation Transistor

You can launch the clear implementation implementation of Transistor with:

python3 reference.py

For the homomorphic version, you can compile it with:

cd homomorphic_implementation/homomorphic_transistor
cargo run --release

The two versions are fed with the same inputs, so it is easy to see that the two versions yield the same output.

The folder homomorphic_implementation/homomorphic_transistor contains the high-level implementation of transistor, while homomorphic_implementation/tfhe-rs-odd is a fork of Zama's tfhe-rs supporting odd modulos. It handles the tfhe operations.