Skip to content

Implementation of Chou-Orlandi Oblivious Transfer protocol

Notifications You must be signed in to change notification settings

danzipie/simplest-ot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simplest-ot

Implementation of Chou-Orlandi Oblivious Transfer (OT) protocol

Work in progress

A n-out-of-1 OT protocol practical implementation in Rust, as thin as possible. The implementation is a work in progress and incomplete, not to be used in production environments. The sole purpose is to learn how to use Rust crypto libraries.

Quickstart

This command will run an example:

cargo run

The example reads example_input.txt and creates a sender and receiver. Receiver is expected to only succeed in decrypting one message, while the rest are "Impossible to decrypt".

Initiating protocol
n: 2
Receiver choosing a random index
Receiver decypting
Success [111, 110, 101]
Impossible to decrypt

References

OT protocol article:

Another implemenration of the Simplest OT is here:

About

Implementation of Chou-Orlandi Oblivious Transfer protocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages