Skip to content

privacy-scaling-explorations/2pc-is-for-lovers

Repository files navigation

2PC IS FOR LOVERS ❤️

Did you ever fall in love with your best friend? Hope they feel the same, but afraid to lose the friendship?

This app uses advanced cryptography to solve the problem! 🤓

How it Works

  1. Open the app.
  2. Host a session.
  3. Get your friend to join.
  4. Choose love or friendship.
  5. If you both choose love, you'll both find out. Otherwise, you'll both see friendship.

They Really Won't Know?

Yes. Really.

This is an open source app.

If you choose love but the result is friendship, only you will know. Even if your friend knows advanced cryptography.

This is the magic of 2PC.

All communication is end-to-end encrypted. The server/internet will not know either.

Under the Hood

This app is built with mpc-framework, which enables secure 2PC based on Authenticated Garbling and Efficient Maliciously Secure Two-Party Computation. In this app we only use a circuit with a single AND gate, but the framework allows you to compute any function (in principle) by using larger circuits, which can be compiled using a TypeScript-like language called summon.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •