In a 1–2 oblivious transfer protocol, the sender has two messages "m" and "m", and the receiver has a bit "b", and the receiver wishes to receive "m", without the sender learning "b", while the sender wants to ensure that the receiver receives only one of the two messages.