This is a concrete implementation of the IKPN03 protocol written in Java, using the SCAPI interface. This project was made for my MSc thesis for the department of Information & Communication Systems Engineering of the University of the Aegean, under the supervision of Dr. Panagiotis Rizomiliotis. This project is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.
To run this project you'll need to have installed:
- Java 8 or greater
- The SCAPI library
If the Sender and the Receiver are using the same address, simply run the SenderMain
and the ReceiverMain
classes. If the the parties are using different addresses, you'll need to modify the SocketParties.properties
file accordingly. More information here.
To configure the number of transactions, simply edit the m
value in both the PSender
and PReceiver
classes in the default constructor method. Bare in mind though that the m
value MUST be divisible by 8 and of course it must be the same in both classes. To view the various arrays, choice bits etc. simply uncomment the various print methods in the main classes as you wish.
If you experience problems with SCAPI you can use the following links:
- SCAPI's GitHub project: https://github.com/cryptobiu/scapi
- SCAPI's Documentation: http://scapi.readthedocs.org/
- SCAPI's API: http://cryptobiu.github.io/scapi/
If you have any inquiries, feel free to email me at: a.mittos [at] outlook [dot] com.
I'm planning to continue developing this project. My to-do list is the following:
- Multithreading support
- Support against malicious adversaries (see here)
- 1-out-of-N support (see here)
- Implementation of Tung Chou and Claudio Orlandi's OT protocol of the OT part (see here)
If you want to contribute to this project, you can implement any of the above bullets or implement something entirely different. Of course, bug fixing and implementation optimizations are always welcome.
Paper Title: Extending Oblivious Transfers Efficiently
Authors: Yuval Ishai, Joe Kilian, Kobbi Nissim, Erez Petrank
Booktitle: Advances in Cryptology - CRYPTO 2003, 23rd Annual International Cryptology Conference, Santa Barbara, California, USA, August 17-21, 2003, Proceedings
Year: 2003
Link: https://www.iacr.org/cryptodb/data/paper.php?pubkey=1432
This material is copyright (c) 2016.
It is open and licensed under the GNU Affero General Public License (AGPL) v3.0 whose full text may be found here.