Skip to content

cursive-team/trinity-v0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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

17 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors