One of two oblivious transfer
Alice holds two items of information, say m0 and m1. Bob wants to know on tof these two items of information, but does not want Alice to know which one he wants.
This problem is known as the oblivious transfer problem. It can be solved in several ways. We will do it using RSA techniques.
N is Alice's public RSA modulus and e is the corresponding public exponent; d is the corresponding private decryption exponent.
At Bob's request, Alice generates two random messages x0 and x1 (random numbers smaller than N) and sends them to Bob.
Bob wants mb, where b∈{0,1}. So, Bob generates a random k and computes and send to Alice v=(x0+ke)modN.
Alice computes m0′=m0+(v−x0)dmodN and m1′=m1+(v−x1)dmodN and sends both to Bod. Either (v−x0)dmodN or (v−x1)dmodN will be equal to k, but Alice has no way of knowing which one is the case.
Bob computes mb=mb′−kmodN. He cannot infer m1−b from m1−b′.
Last updated