├── README.md ├── sha256PaddedFor256BitInputs.txt └── sha256Unpadded.txt /README.md: -------------------------------------------------------------------------------- 1 | # sha256-circuit 2 | An efficient circuit implementation of SHA256. 3 | 4 | All the circuits are already in a format compatible with [SCAPI](https://github.com/cryptobiu/scapi). 5 | 6 | These circuits were generated using a circuit building library designed by Steven Goldfeder (link to be added) that optimized total size and number of AND gates. The latter is desirable in MPC applications. 7 | The circuits were built as part of a work on "Zero Knowledge Contingent Service Payments (ZKCSP)" by Campanelli, Gennaro, Goldfeder and Nizzardo (paper at [this link](https://eprint.iacr.org/2017/566)). 8 | 9 | --------------------------------------------------------------------------------