Skip to content

Implementation of UC-secure OT under DDH assumption

Notifications You must be signed in to change notification settings

manel1874/DDHOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oblivious Transfer

Implementation of UC-secure Oblivous Transfer under DDH assumption based on the following work: "A Framework for Efficient and Composable Oblivious Transfer" by Chris Peikert and Vinod Vaikuntanathan and Brent Waters. A demo can be seen on YouTube.

Installation instruction:

  • In your home directory type:
$ git clone https://github.com/manel1874/DDHOT.git
$ cd

$ cp -r DDHOT/UC_DDH_OT/. libscapi
  • Update your current home directory in the makefile file. (ex. change manel to your username)

  • Run:

$ cd ~/libsacpi

$ make -f makefile_UCOT

Run example

  • Run in separate terminals:

Terminal 1

$ ./runOT 0 0

Terminal 2

$ ./runOT 1 1
  • The first input corresponds to the party type (0: Sender; 1: Receiver);
  • For a Sender Party the second input corresponds to the crs setup type (0: Messy mode; 1: Decryption mode);
  • For a Receiver Party the second input corresponds to the chosen element, sigma (0: m0, 1: m1).

About

Implementation of UC-secure OT under DDH assumption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published