An open API service indexing awesome lists of open source software.

https://github.com/b1f6c1c4/naive-garble

Naïve implementation of garbled circuits.
https://github.com/b1f6c1c4/naive-garble

cryptography garbled-circuits oblivious-transfer secure-computation sfe

Last synced: about 2 months ago
JSON representation

Naïve implementation of garbled circuits.

Awesome Lists containing this project

README

        

# naive-garble

[Garbled circuit](https://en.wikipedia.org/wiki/Garbled_circuit) is a cryptography protocol that facilitates secured function evalutation (SFE).
This site demonstrates the basics of it and can be used for SFE in limited scenarios (semi-trusted).

## Online

See [Demo](https://garbled.netlify.com/) in WebAssembly.

## Run Locallly

```sh
make -j4
./bin/garble --alice 1 # 0~3
./bin/garble --bob 2 # 0~3
# Should evaluate to min(1, 2) = 1
```