# US 2023/0274007 A1 · Response-Hiding Searchable Encryption

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0274007 A1
- Document ID: US20230274007A1
- Status: Published application
- Kind: A1
- Application number: 18/312,556
- Filed: 2023-05-04
- Published: 2023-08-31
- Earliest claimed: 2019-04-24
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Kevin Yeo; Sarvar Patel; Giuseppe Persiano
- Web page: https://patentgrep.com/patent/US20230274007A1

## CPC

- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- G06F 21/107: {License processing; Key processing}
- G06F 2221/2107: File encryption
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for providing response-hiding searchable encryption includes receiving a search query for a keyword from a user device associated with a user. The keyword appears in one or more encrypted documents within a corpus of encrypted documents stored on an untrusted storage device. The method also includes accessing a document oblivious key-value storage (OKVS) to obtain a list of document identifiers associated with the keyword. Each document identifier in the list of document identifiers associated with a respective keyword identifier is concatenated with the keyword and uniquely identifies a respective one of the one or more encrypted documents that the keyword appears in. The method also includes returning the list of document identifiers obtained from the document OKVS to the user device.

## Claims

### Claim 1

A computer-implemented method that when executed on data processing hardware causes the data processing hardware to perform operations comprising:
receiving a search query for a keyword from a user device, the keyword appearing in one or more encrypted documents within a corpus of encrypted documents stored on an untrusted storage device;
accessing a document oblivious key-value storage (OKVS) comprising oblivious random access memory (ORAM) to obtain a list of document identifiers associated with the keyword using a key associated with the keyword, each document identifier in the list of document identifiers associated with a respective keyword identifier concatenated with the keyword and uniquely identifying a respective one of the one or more encrypted documents that the keyword appears in; and
returning the list of document identifiers obtained from the document OKVS to the user device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the ORAM comprises at least one of:
path ORAM;
square root ORAM; or
tree-based ORAM.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the operations further comprise:
appending one or more dummy document identifiers to the list of document identifiers; and
returning the list of document identifiers comprising the appended one or more dummy document identifiers to the user device.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein accessing the document OKVS to obtain the list of document identifiers associated with the keyword using the key associated with the keyword comprises:
accessing the document OKVS using the key associated with the keyword and an initial keyword identifier;
incrementing the initial keyword identifier; and
accessing the document OKVS using the key associated with the keyword and the incremented keyword identifier.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the operations further comprise, for a new encrypted document uploaded by the user device into the corpus of encrypted documents stored on the untrusted storage device:
receiving, from the user device, a set of keywords associated with the new encrypted document and a new document identifier uniquely identifying the new encrypted document;
determining that the new document identifier does not exist in an identifier OKVS, the identifier OKVS comprising ORAM and a set of document identifiers, each document identifier in the set of document identifiers uniquely identifying a respective one of the encrypted documents within the corpus of encrypted documents stored on the untrusted storage device; and
based on determining that the new document identifier does not exist in the identifier OKVS, updating the identifier OKVS with the new document identifier uniquely identifying the new encrypted document.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the operations further comprise, for each keyword in the set of keywords associated with the new encrypted document:
incrementing a keyword count associated with the keyword in a counts OKVS, the counts OKVS comprising ORAM and a plurality of keyword counts, each keyword count indicating a number of the encrypted documents within the corpus of encrypted documents that a respective keyword appears in; and
inserting a concatenation of the keyword and a respective keyword identifier associated with the new document identifier into the document OKVS.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the operations further comprise:
determining that the keyword count is greater than or equal to one; and
based on determining that the keyword count is greater than or equal to one, increasing the keyword count by one.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the operations further comprise:
determining that the keyword count is not greater than or equal to one; and
based on determining that the keyword count is not greater than or equal to one, setting the keyword count to one.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the operations further comprise, prior to accessing the document OKVS, accessing a counts OKVS to determine a number of the one or more encrypted documents the keyword appears in, the counts OKVS comprising a plurality of keyword counts, each keyword count indicating a number of the encrypted documents within the corpus of encrypted documents that a respective keyword appears in.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the document OKVS resides at a cloud computing environment.

### Claim 11

A system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
receiving a search query for a keyword from a user device, the keyword appearing in one or more encrypted documents within a corpus of encrypted documents stored on an untrusted storage device;
accessing a document oblivious key-value storage (OKVS) comprising oblivious random access memory (ORAM) to obtain a list of document identifiers associated with the keyword using a key associated with the keyword, each document identifier in the list of document identifiers associated with a respective keyword identifier concatenated with the keyword and uniquely identifying a respective one of the one or more encrypted documents that the keyword appears in; and
returning the list of document identifiers obtained from the document OKVS to the user device.

### Claim 12 (depends on 11)

The system of claim 11, wherein the ORAM comprises at least one of:
path ORAM;
square root ORAM; or
tree-based ORAM.

### Claim 13 (depends on 11)

The system of claim 11, wherein the operations further comprise:
appending one or more dummy document identifiers to the list of document identifiers; and
returning the list of document identifiers comprising the appended one or more dummy document identifiers to the user device.

### Claim 14 (depends on 11)

The system of claim 11, wherein accessing the document OKVS to obtain the list of document identifiers associated with the keyword using the key associated with the keyword comprises:
accessing the document OKVS using the key associated with the keyword and an initial keyword identifier;
incrementing the initial keyword identifier; and
accessing the document OKVS using the key associated with the keyword and the incremented keyword identifier.

### Claim 15 (depends on 11)

The system of claim 11, wherein the operations further comprise, for a new encrypted document uploaded by the user device into the corpus of encrypted documents stored on the untrusted storage device:
receiving, from the user device, a set of keywords associated with the new encrypted document and a new document identifier uniquely identifying the new encrypted document;
determining that the new document identifier does not exist in an identifier OKVS, the identifier OKVS comprising ORAM and a set of document identifiers, each document identifier in the set of document identifiers uniquely identifying a respective one of the encrypted documents within the corpus of encrypted documents stored on the untrusted storage device; and
based on determining that the new document identifier does not exist in the identifier OKVS, updating the identifier OKVS with the new document identifier uniquely identifying the new encrypted document.

### Claim 16 (depends on 15)

The system of claim 15, wherein the operations further comprise, for each keyword in the set of keywords associated with the new encrypted document:
incrementing a keyword count associated with the keyword in a counts OKVS, the counts OKVS comprising ORAM and a plurality of keyword counts, each keyword count indicating a number of the encrypted documents within the corpus of encrypted documents that a respective keyword appears in; and
inserting a concatenation of the keyword and a respective keyword identifier associated with the new document identifier into the document OKVS.

### Claim 17 (depends on 16)

The system of claim 16, wherein the operations further comprise:
determining that the keyword count is greater than or equal to one; and
based on determining that the keyword count is greater than or equal to one, increasing the keyword count by one.

### Claim 18 (depends on 16)

The system of claim 16, wherein the operations further comprise:
determining that the keyword count is not greater than or equal to one; and
based on determining that the keyword count is not greater than or equal to one, setting the keyword count to one.

### Claim 19 (depends on 11)

The system of claim 11, wherein the operations further comprise, prior to accessing the document OKVS, accessing a counts OKVS to determine a number of the one or more encrypted documents the keyword appears in, the counts OKVS comprising a plurality of keyword counts, each keyword count indicating a number of the encrypted documents within the corpus of encrypted documents that a respective keyword appears in.

### Claim 20 (depends on 11)

The system of claim 11, wherein the document OKVS resides at a cloud computing environment.
