Glossary

Oblivious Transfer (OT)

Oblivious transfer is a cryptographic protocol where a sender transfers one of several pieces of information to a receiver without learning which was chosen.

Key Takeaways

  • Oblivious transfer (OT) is a cryptographic protocol where a sender holds two messages and a receiver selects one: after the protocol completes, the receiver learns only their chosen message and the sender learns nothing about which was selected.
  • OT is a universal building block for secure multi-party computation: Kilian proved in 1988 that any secure computation can be constructed from oblivious transfer alone, a result known as the OT completeness theorem.
  • In blockchain systems, OT enables privacy-preserving operations such as private set intersection for transaction screening, secure auction protocols, and share conversion in threshold signature schemes used by MPC wallets.

What Is Oblivious Transfer?

Oblivious transfer is a fundamental cryptographic primitive that enables a sender to transmit information to a receiver while keeping both parties partially in the dark. In the most common variant, called 1-out-of-2 OT, the sender holds two messages (m₀ and m₁) and the receiver holds a choice bit (c). After the protocol executes, the receiver obtains only the message corresponding to their choice (mₓ) and learns nothing about the other. The sender, meanwhile, gains no information about which message the receiver selected.

Think of it like a vending machine with two sealed items. The buyer picks one and receives it, but cannot peek inside the other. The machine operator loads both items but has no way to tell which one the buyer took. Neither party can cheat the other.

The concept was first introduced by Michael Rabin in 1981 in a probabilistic form: the receiver obtained the sender's message with probability 1/2, and the sender could not tell whether the transfer succeeded. Shimon Even, Oded Goldreich, and Abraham Lempel later formalized the 1-out-of-2 variant in 1985 in their paper "A Randomized Protocol for Signing Contracts," which showed that OT can be implemented using any public-key cryptosystem. These two formulations were later proven equivalent.

How It Works

A 1-out-of-2 oblivious transfer protocol must satisfy two security properties simultaneously:

  • Sender privacy: the receiver learns only the message they selected and gains no information about the other message
  • Receiver privacy: the sender learns nothing about which message the receiver chose

These dual guarantees make OT more powerful than simple public-key encryption, where only one direction of privacy is enforced.

Protocol Steps

While specific constructions vary, a typical RSA-based 1-out-of-2 OT protocol follows this pattern:

  1. The sender generates two random public values (x₀ and x₁) and sends them to the receiver
  2. The receiver picks their choice bit c, generates a random value k, and computes a blinded value v using xₓ and k such that the sender cannot determine c from v alone
  3. The sender receives v and computes two candidate decryption keys (k₀ and k₁) from v, x₀, and x₁ using their private key: only one of these keys matches the receiver's actual k, but the sender cannot tell which
  4. The sender encrypts each message with the corresponding key and sends both ciphertexts to the receiver
  5. The receiver decrypts the ciphertext corresponding to their choice using their known k: the other ciphertext is indecipherable because the receiver does not know the other key
// Simplified 1-out-of-2 OT illustration
// Sender holds m0, m1; Receiver holds choice bit c

// Step 1: Sender generates random values
sender_publishes(x0, x1)

// Step 2: Receiver blinds their choice
k = random()
v = blind(x_c, k)  // Only uses x_c, hiding c from sender
receiver_sends(v)

// Step 3: Sender derives two candidate keys
k0_candidate = derive(v, x0, private_key)
k1_candidate = derive(v, x1, private_key)

// Step 4: Sender encrypts both messages
e0 = encrypt(m0, k0_candidate)
e1 = encrypt(m1, k1_candidate)
sender_sends(e0, e1)

// Step 5: Receiver decrypts only their chosen message
m_c = decrypt(e_c, k)  // Works only for the chosen index

Variants

Several generalizations of oblivious transfer exist, all proven equivalent in computational power:

  • 1-out-of-n OT: the sender holds n messages and the receiver selects exactly one, sometimes called a private database query
  • k-out-of-n OT: the receiver selects k messages from n, learning only those k values
  • Rabin OT: the original 1981 formulation where the receiver obtains the message with probability 1/2 and the sender cannot tell whether the transfer succeeded

OT Completeness

In 1988, Joe Kilian proved a remarkable result: oblivious transfer is sufficient to implement any secure two-party computation. This means that given an OT protocol, two parties can jointly compute any function over their private inputs without revealing anything beyond the output. The result, known as the OT completeness theorem, establishes OT as a universal primitive for multi-party computation (MPC).

The practical implication is significant. Rather than designing bespoke cryptographic protocols for every secure computation task, researchers can focus on building efficient OT implementations and then compose them to construct arbitrary secure computations. This modular approach has driven decades of MPC research and directly enables the privacy-preserving protocols used in blockchain systems today.

OT Extensions

A core challenge with oblivious transfer is cost: each base OT instance requires expensive public-key operations such as modular exponentiations or elliptic curve multiplications. For applications that need thousands or millions of OTs, the computational overhead becomes prohibitive.

OT extension protocols solve this by amortizing the cost. The idea is to perform a small number of base OTs using public-key cryptography (typically proportional to the security parameter, around 128 or 256), then extend them into an arbitrarily large number of OTs using only fast symmetric-key operations like hashing. The per-OT cost drops from expensive public-key work to a constant number of hash evaluations.

The IKNP protocol (Ishai, Kilian, Nissim, and Petrank, 2003) was the breakthrough construction that made this practical. More recent work includes QuietOT (2024), which replaces base OTs with a one-time public-key setup and reports 30 to 100 times faster performance than earlier public-key OT protocols, including post-quantum security guarantees based on lattice assumptions.

Use Cases

Private Set Intersection

Private set intersection (PSI) allows two parties to discover which elements they have in common without revealing any other elements. In blockchain contexts, PSI protocols built on OT enable compliance screening: an exchange can check whether a user's addresses appear on a sanctions list without the list provider learning which addresses the exchange holds, and without the exchange seeing the full list. Research has demonstrated experimental quantum-secure OT protocols applied to PSI where two banks identify common suspicious accounts without disclosing any other customer data.

MPC Wallets and Threshold Signing

MPC wallets use multi-party computation to split private keys into shares distributed across multiple parties. During threshold ECDSA signing, participants need to convert multiplicative secret shares into additive shares: a step called multiplicative-to-additive (MtA) share conversion. OT-based MtA constructions eliminate the need for homomorphic encryption, reducing computational complexity. Research shows that MtA dominates the overall cost of threshold ECDSA protocols, requiring O(n²) invocations for n active signers, making OT efficiency improvements directly impactful for wallet performance.

Secure Auctions

Sealed-bid auctions on blockchain platforms can use OT-based MPC protocols to determine the winner without revealing losing bids. Each bidder submits an encrypted bid, and the auction contract uses secure computation (constructed from OT) to identify the highest bid and winner while keeping all other bid amounts private. This prevents bid manipulation, front-running, and information leakage that plague transparent on-chain auctions.

Privacy-Preserving Credential Verification

OT enables selective disclosure of credentials. A user can prove they hold a valid credential (such as age verification or accreditation status) without revealing the credential itself or any other attributes. The verifier learns only the specific fact they need, and the credential issuer learns nothing about which attribute was checked. This pattern supports zero-knowledge compliance workflows where users prove regulatory eligibility without exposing personal data on-chain.

Connection to MPC and Zero-Knowledge Proofs

Oblivious transfer sits alongside zero-knowledge proofs and homomorphic encryption as one of the three pillars of modern cryptographic privacy. While zero-knowledge proofs let a prover convince a verifier of a statement without revealing the underlying data, and homomorphic encryption allows computation on encrypted data, OT enables interactive secure computation where multiple parties contribute private inputs to a joint function.

In practice, these primitives complement each other. Garbled circuits (a major MPC technique) use OT to transfer circuit inputs securely. Some zero-knowledge proof systems use OT internally for witness generation. And MPC custody solutions that protect Bitcoin and stablecoin holdings rely on OT-based protocols for distributed key generation and signing.

Risks and Considerations

Computational Overhead

Base OT protocols require public-key cryptographic operations that are orders of magnitude slower than symmetric-key primitives. While OT extensions mitigate this for bulk operations, the initial setup cost remains significant. Applications requiring only a handful of OTs may not benefit from extension techniques, and the communication overhead (roughly twice the information-theoretic optimum, proven inherent by Dujmovic and Hajiabadi in 2024) adds bandwidth costs in constrained environments.

Trust Assumptions

The security of OT protocols depends on computational hardness assumptions: RSA for classical constructions, or lattice problems for post-quantum variants. If these assumptions are broken (for example, by advances in quantum computing or mathematical breakthroughs), both sender and receiver privacy could be compromised retroactively. Unlike information-theoretically secure primitives, OT's guarantees are conditional on these assumptions holding. The connection to post-quantum cryptography is an active area of research.

Interactivity Requirements

Standard OT protocols require multiple rounds of communication between sender and receiver. This interactivity can be a bottleneck in distributed systems where participants may be offline, have high latency connections, or operate across different time zones. Non-interactive variants exist but typically require stronger assumptions or trusted setup.

Composability Challenges

Using OT as a building block in larger protocols requires careful treatment of composition. Protocols proven secure in isolation may lose their guarantees when combined. Modern research addresses this through universally composable (UC) security frameworks, but UC-secure OT constructions are more expensive than standalone-secure ones.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.