Skip to content

2PC with ideal UX and DevX. Combination of Garbled Circuits, PLONK, and KZG Witness Encryption

Notifications You must be signed in to change notification settings

cursive-team/trinity-v0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trinity

Trinity is a new 2PC scheme, developed by Cursive. It combines ideas from a trio of cryptographic primitives: Garbled Circuits, KZG Witness Encryption, and PLONK.

This is a v0 version that has the first end-to-end implementation of the core scheme involving Garbled Circuits & KZG WE. PLONK will be added in a future version; it requires significant refactoring and isn't necessary to build initial applications.

The specific example used is a private hiring matcher. This is the same functionality that we previously built with Multi-Party FHE using phantom-zone, which you can find here.

Acknowledgements

This repo uses code from a number of different projects:

  • /circuits: Boolify to write a hiring 2PC circuit in Bristol format
  • /jigg: JIGG for JavaScript native Garbled Circuit generation & evaluation
  • /laconic: research-we-kzg, the original paper implementation of KZG Witness Encryption

About

2PC with ideal UX and DevX. Combination of Garbled Circuits, PLONK, and KZG Witness Encryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published