# US 2015/0149763 A1 · Server-Aided Private Set Intersection (PSI) with Data Transfer

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

- Number: US 2015/0149763 A1
- Document ID: US20150149763A1
- Status: Published application
- Kind: A1
- Application number: 14/091,810
- Filed: 2013-11-27
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Seny Kamara
- Web page: https://patentgrep.com/patent/US20150149763A1

## CPC

- G06F 21/60: Protecting data
- H04W 4/02: Services making use of location information
- G06F 21/445: {by mutual authentication, e.g. between devices or programs}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/606: {by securing the transmission between two devices or processes}
- H04L 9/008: {involving homomorphic encryption}
- H04L 9/083: {involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/0478: {applying multiple layers of encryption, e.g. nested tunnels or encrypting the content with a first key and then with at least a second key (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- G06F 2221/2107: File encryption
- G06F 2221/2115: Third party
- H04L 2209/46: Secure multiparty computation, e.g. millionaire problem
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Existing private set intersection (PSI) protocol allows two parties to find intersection of their sets, but restricts learning any other information about each other's set except for its size. In general, the server-aided private set intersection with data transfer technique described herein provides a server-aided private set intersection (PSI) protocol that supports data transfers. The technique pertains to a method for providing a server-aided private set intersection protocol which allows two parties to transfer some of the information about their elements via an untrusted third party. The protocol involves (a) parties applying a shared pseudo-random permutation to each of their sets to create labels of the elements of the set, (b) sending the labels to the third party and (c) the third party performing data transfer between the two parties along with computation of intersection of sets received using a multi-share key.

## Claims

### Claim 1

A computer-implemented process for transferring some information associated with elements of a data set held by a first party to a second party without revealing the data set using a third party, comprising:
receiving from a first party, for each element in a set S1: a label for each element, an identifier the element, and the first share of a two-share secret key;
receiving from a second party labels generated for the elements of a set S2;
computing the intersection of the labels of the sets S1 and S2;
sending to the second party, for each element in the intersection of the labels: the label, the identifier for the element and second share of the two-share secret key.

### Claim 2 (depends on 1)

The computer-implemented process of claim 1 wherein the first party generates triples for each element in set S1 comprising;
a label for the element,
an identifier for the element, and
an encrypted form for the data associated with the element that was encrypted using the two-share secret key;

### Claim 3 (depends on 1)

The computer-implemented process of claim 1, wherein the first party sends to the second party, for each element in the set S1: the identifier for each element, the encrypted data associated with each element and the second share of the two-share secret key.

### Claim 4 (depends on 1)

The computer-implemented process of claim 1, further comprising:
the second party decrypting the data associated with each element in the intersection of the sets using the identifiers and the first and a second share of the two-share secret key.

### Claim 5 (depends on 1)

The computer-implemented process of claim 1 wherein the first party and the second party generate labels for their set by applying a shared pseudo-random permutation (PRP) to the elements of their data sets using a shared key.

### Claim 6 (depends on 1)

The computer-implemented process of claim 1 wherein the first party generates the secret two-share key using another secret key.

### Claim 7 (depends on 1)

The computer-implemented process of claim 1, wherein the third party is an untrusted third party.

### Claim 8 (depends on 4)

The computer-implemented process of claim 4, wherein the first and second parties are clients and the third party is one or more servers in a computing cloud.

### Claim 9 (depends on 1)

The computer-implemented process of claim 1 wherein the third party performs a plain text set intersection on the labels.

### Claim 10

A computer-implemented process for transferring some information db(x) associated with the elements of data in the intersection of two data sets S1 and S2 held by two parties P1 and P2 using an untrusted third party, without either party P1 or P2 revealing the data in their sets, comprising:
the first party P1 generating a first secret key Ke, a second secret key Kl, and a third secret key K1 and sending the second secret key Kl to the second party P2;
for every element x in P1's set S1:
using Ke, generating a two-share secret key Kx comprising a first share zx,1 and a second share zx,2,
encrypting data db(x) associated with the element using key Kx,
creating an identifier idx for the element,
creating a label lx for the element by applying a pseudo-random permutation to the element using the secret key Kl;
the first party P1 sending to the untrusted third party a set of triples for each element in set S1 comprising: the identifier idx, the first share of the key zx,1 and the label lx;
the first party P1 sending to the second party P2 a set of triples for each element comprising: the identifier idx, the second share of the key zx,1 and the encrypted data C(db(x));
the second party P2 generating labels for the elements in P2's set S2 by applying a permutation to the elements using key Kl, and sending the labels for each element in set S2 to the untrusted third party;
the untrusted third party comparing the set of labels received from P1 and the set of labels received from P2 to find the intersection of the labels of P1 and P2; and
the untrusted third party sending to P2 all triples the third party received from P1 that have a label inside the intersection.

### Claim 11 (depends on 10)

The computer-implemented process of claim 10, further comprising P2 decrypting P1's encrypted data C(db(x)) for the elements that P1 and P2 hold in the intersection of the sets S1 and S2.

### Claim 12 (depends on 11)

The computer-implemented process of claim 11 wherein P2 decrypts the data C(db(x)) with the first share of the key received from P1 and the second share of the key received from the untrusted third party.

### Claim 13 (depends on 10)

The computer-implemented process of claim 10 wherein generating key Kx in two shares using the secret key Ke for each element further comprises:
generating the first share zx,1 by applying a pseudo random permutation to element x, concatenated with a first string using key Ke;
generating the second share zx,2 by applying a pseudo-random permutation to element x, concatenated with a second string using key Ke; and
generating Kx by performing an XOR operation on first share zx,1 and a second share zx,2.

### Claim 14 (depends on 10)

The computer implemented process of claim 10 wherein the first, second and third secret keys further comprise:
a key Ke to generate encryption keys for data db(x) associated with each element of set S1;
a key Kl to generate a label for an element x of a set; and
a key K1 to generate an identifier idx for the data db(x) associated with each element x of a set.

### Claim 15 (depends on 10)

The computer-implemented process of claim 10 wherein the triples the first party P1 sends are randomly shuffled prior to sending.

### Claim 16

A system for providing a server-aided set intersection protocol which allows a client to transfer data associated with elements of the client's set of data to one or more other clients via a server, comprising:
each of the clients applying a shared pseudo random permutation (PRP) to the elements of their data sets using a shared secret key to create labels of the elements of their set and sending these labels to the server;
a first client generating:
an identifier for each of the elements of the first client's set,
a multi-share secret key for each of the elements of the first client's set;
encrypted data associated with each of the elements of the first client's set, encrypted using the multi-share secret key;
the first client sending the encrypted data for all the elements in the first client's set to the other clients, along with a portion of the multi-share secret key for each element, and the identifier for each element of the first client's set;
the first client sending the server for each element in the first client's set, the label for the element, the remaining portions of the multi-share key for the element and the identifier for the element;
each of the other clients receiving from the server for each of the elements in the intersection of the first party's set with their set, the labels for the intersection of the data elements, the identifiers for each element, and the remaining portions of the multi-share key from the server;
each client decrypting the associated data for each of the elements in the intersection of the sets using the labels, the identifiers and all portions of the multi-share key for each of the elements.

### Claim 17 (depends on 16)

The system of claim 16, wherein the server is in a computing cloud.

### Claim 18 (depends on 16)

The system of claim 16 wherein the multi-share key is a two-share key.

### Claim 19 (depends on 16)

The system of claim 16, wherein more than one client has data associated with the elements in their set and wherein the data is transferred to the other clients using the server.

### Claim 20 (depends on 16)

The system of claim 16, wherein the data associated with the elements in the first party's set relates to an on-line gaming application.
