{
  "slug": "oblivious-prf",
  "term": "Oblivious pseudorandom function",
  "aliases": [
    "OPRF"
  ],
  "definition": "An oblivious pseudorandom function protocol lets a client obtain a keyed function's output while hiding the input from the server and the server key from the client.",
  "note": "The specification defines three variants over prime-order groups, namely the base protocol, a verifiable form that binds evaluations to a known public key, and a partially oblivious form that adds public input to the computation. Five ciphersuites are defined, and application inputs must be shorter than 2^16 - 1 bytes. It is an Informational IRTF publication, not an IETF standard, and does not by itself provide application authentication or query quotas. [rfc9497]\n\nDirect evaluation access acts as a static Diffie-Hellman oracle. Best-known attacks lower security by log2(Q)/2 bits for Q evaluation queries, so a 128-bit group drops to 128 - log2(Q)/2 bits, and applications can rate-limit queries or rotate keys. [rfc9497]\n\nIn server-aided encrypted deduplication, clients obtain message-derived keys through an oblivious PRF, so the key server never sees file contents, while authentication and rate limiting slow brute-force guessing by compromised clients. [dupless2013]",
  "status": "research",
  "advantages": [
    {
      "text": "A deduplication key server can derive content keys without learning which files are being stored.",
      "citationIds": [
        "dupless2013"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Rate limits slow, but do not prevent, guessing of predictable files by clients that hold valid credentials.",
      "citationIds": [
        "dupless2013"
      ]
    }
  ],
  "related": [
    "convergent-encryption",
    "deduplication",
    "cryptographic-hash",
    "hash-domain-separation"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "rfc9497",
      "title": "RFC 9497: Oblivious Pseudorandom Functions (OPRFs) Using Prime-Order Groups (2023), sections 1, 5.1 and 7.2.3. Informational IRTF publication.",
      "url": "https://www.rfc-editor.org/rfc/rfc9497.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-dedup-security",
      "title": "Hesela: Encrypted deduplication: who can test a file guess?",
      "url": "https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/",
      "accessed": "2026-10-18"
    },
    {
      "id": "dupless2013",
      "title": "Bellare, Keelveedhi and Ristenpart. DupLESS: Server-Aided Encryption for Deduplicated Storage. USENIX Security 2013, sections 1-3.",
      "url": "https://files.usenix.org/s3fs-public/cdn/sec13-paper_bellare.pdf",
      "accessed": "2026-10-23"
    }
  ],
  "updated": "2026-10-23",
  "provenance": [
    "rfc9497 re-read 2026-10-23 for the three modes, the input limit and the static Diffie-Hellman security reduction.",
    "dupless2013 read 2026-10-23 for the key-server use and its rate-limiting rationale.",
    "A companion analysis on encrypted deduplication is listed but not used in prose."
  ]
}
