Abstract
This paper introduces Public Key Encryption with keyword Search (PEKS), a cryptographic primitive that enables searching over data encrypted with a public key. The authors provide a formal security definition, construct efficient schemes using bilinear maps, and demonstrate a fundamental link between PEKS and Identity-Based Encryption (IBE).
Introduction
In standard public-key encryption, a server storing encrypted messages cannot perform any meaningful computation on the data without the recipient's private key. This creates a conflict in scenarios like encrypted email storage, where a user might want a mail server to route messages based on keywords (e.g., "urgent") without granting the server full decryption rights.
Boneh et al. address this by introducing Public Key Encryption with keyword Search (PEKS). In this model, a sender can append a searchable encryption of a keyword to a message. The recipient can then provide the server with a "trapdoor" for a specific keyword, allowing the server to identify matching messages without learning anything else about the content.
The PEKS Framework
The authors formalize the PEKS system through four primary polynomial-time algorithms:
- KeyGen($s$): Generates the recipient's public key $A_{pub}$ and private key $A_{priv}$.
- PEKS($A_{pub}, W$): Produces a searchable ciphertext $S$ for keyword $W$ using the recipient's public key.
- Trapdoor($A_{priv}, W$): The recipient uses their private key to create a "trapdoor" $T_W$ for a specific keyword.
- Test($A_{pub}, S, T_W$): A public algorithm used by the server to check if a ciphertext $S$ contains the keyword $W$ corresponding to the trapdoor $T_W$.
Proposed Constructions
The paper presents two distinct approaches to building PEKS:
- Bilinear Maps: Leveraging pairings on elliptic curves, the authors develop an efficient scheme based on the Bilinear Diffie-Hellman (BDH) assumption. This construction is a variant of the Boneh-Franklin Identity-Based Encryption (IBE) scheme.
- Trapdoor Permutations: A more general construction that can be built from any trapdoor permutation. While less efficient than the bilinear map approach, it provides a theoretical foundation for PEKS in broader settings. To handle large dictionaries, the authors employ "cover-free families" to keep the public key size manageable.
Key Insights and Theoretical Significance
A significant contribution of the paper is the proof that PEKS implies IBE. The authors show that any secure PEKS scheme can be transformed into a secure Identity-Based Encryption scheme. This result suggests that searchable public-key encryption is a fundamentally "harder" cryptographic problem than IBE.
Furthermore, the authors emphasize the requirement for "public-key privacy." For a PEKS scheme to be secure, the ciphertext must not reveal which public key (or keyword) was used to create it. They demonstrate that some existing IBE schemes (like Cocks’ IBE) fail this requirement and thus cannot be used for PEKS directly.
Security Results
The paper establishes the first rigorous definition of semantic security for PEKS against adaptive chosen keyword attacks. The bilinear map construction is proven secure in the Random Oracle Model. In practice, this allows a sender to attach a small, searchable tag to an encrypted message: $$ [E_{A_{pub}}(msg), PEKS(A_{pub}, W_1), \dots, PEKS(A_{pub}, W_k)] $$ This structure ensures that the gateway can filter messages based on $W_i$ using the provided trapdoors while the message body $msg$ remains confidential.
Limitations and Future Work
Despite its efficiency, the bilinear map construction relies on the Random Oracle Model; building a secure PEKS without this remains an open challenge. Additionally, PEKS is susceptible to offline dictionary attacks; since the public key is known, a server with a trapdoor $T_W$ could potentially "guess" keywords by encrypting common words and seeing if they match the trapdoor. Future work includes addressing chosen-ciphertext security (CCA) and developing schemes that do not require pre-defined dictionaries for the general construction.
Summary updated