How to use this library to implement oblivious transfer?
yxtj opened this issue · comments
Hi. I am looking for a library to implement the oblivious transfer.
The readme file says this library can be used to do so. But I do not know how to do it.
Is that possible to add some example code in the readme file or add an example folder with scripts implementing the OPRF, OT, and PSI?
This library is leveraged within a few other libraries for OT, OPRF, and PSI, which can be referenced as examples illustrating its use:
- the otc library uses this library to implement a simple oblivious transfer protocol (with a detailed description of the implementation available at https://medium.com/nthparty/privacy-preserving-information-exchange-using-python-1a4a11bed3d5);
- the oprf library uses this library to implement a simple OPRF;
- the nthcommunity open-source client component uses this library to implement the client-side portion of an extended PSI protocol.
We hope the above examples help and are sufficient. Given the broad applicability of this library, we will avoid adding specific examples to this repository.