Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 575 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 575 Bytes

NaorPinkasOT

A general 1-out-N OT implementation based on Naor-Pinkas OT construction. See details in Section 3.1 in the Paper.

details

  • no modification, all based on the paper.
    • reuse the same constance for each round, by input hash function a random element.
  • based on group Gq of prime order, Gq is a subprimegroup of Zp, p–1 is a multiple of q

TODO

  1. input a random element to hash function.
  2. ecc version
Credits To
  1. https://personal.cis.strath.ac.uk/changyu.dong/PSI/PSI.html