# US 2021/0064779 A1 · Masking Text Data for Secure Multiparty Computation

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

- Number: US 2021/0064779 A1
- Document ID: US20210064779A1
- Status: Published application
- Kind: A1
- Application number: 16/558,623
- Filed: 2019-09-03
- Published: 2021-03-04
- Earliest claimed: 2019-09-03
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Padmanabhan Krishnan; Vaibhav Murlidhar Kulkarni; Gopikrishnan Varadarajulu; Rakhi S. Arora; Samir Katti
- Web page: https://patentgrep.com/patent/US20210064779A1

## CPC

- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- G06F 21/6254: {by anonymising data, e.g. decorrelating personal data from the owner's identification}
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04L 2209/04: Masking or blinding
- H04L 2209/08: Randomization, e.g. dummy operations or using noise
- H04L 2209/34: Encoding or coding, e.g. Huffman coding or error correction
- H04L 2209/46: Secure multiparty computation, e.g. millionaire problem
- 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

Textual masking for multiparty computation is provided. The method comprises receiving masked input data from a number of contributors, wherein the input data from each contributor has a unique contributor mask value. A unique analyst mask factor is received for each contributor, computed by an analyst as a difference between a uniform analyst mask value and the contributor mask value. An API call is received from the analyst to aggregate the input data from the contributors. The respective analyst mask factors are added to the input data from the contributors, and the data is aggregated and shuffled. Computational results received from the analyst based on the aggregated input data are published. In response to API calls from the contributors, the analyst mask factors are removed from the computational results, wherein computational results received by each contributor are masked only by the respective contributor mask value.

## Claims

### Claim 1

A computer-implemented method for textual masking for multiparty computation, the method comprising:
receiving, by a number of processors, masked input data from a number of contributors, wherein the input data from each contributor has a unique contributor mask value added by that contributor;
receiving, by the number of processors, a unique analyst mask factor for each contributor computed by an analyst as a difference between a uniform analyst mask value and the contributor mask value;
receiving, by the number of processors, an application programming interface (API) call from the analyst to aggregate the input data from the contributors;
adding, by the number of processors, the respective analyst mask factors to the masked input data from the corresponding contributors;
aggregating and randomly shuffling, by the number of processors, the input data from the contributors;
receiving and publishing, by the number of processors, computational results from the analyst based on the aggregated input data;
removing, by the number of processors, the respective analyst mask factors from the computational results in response to API calls from the contributors, wherein computational results for each contributor are masked only by the respective contributor mask value added by that contributor; and
sending, by the number of processors, the computational results to the contributors.

### Claim 2 (depends on 1)

The method of claim 1, wherein the masked input data received from each contributor comprises a first character sequence converted to a UNICODE sequence, wherein the respective contributor mask value is added to the UNICODE sequence, and converted to a second character sequence that is encoded with base64 encoding.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
generating, by the number of processors, a UNICODE sequence for the masked input data received from each contributor before adding the respective analyst mask factor; and
generating, by the number of processors, a UNICODE sequence for the computational result received from the analyst before removing the respective analyst mask factors.

### Claim 4 (depends on 1)

The method of claim 1, wherein the input data and computational results are base64 encoded.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
decoding, by the number of processors, the input data from each contributor before adding the respective analyst mask factor;
encrypting, by the number of processors, the input data from each contributor after adding the respective analyst mask factor and before aggregating and shuffling the input data;
decoding, by the number of processors, the computational results from the analyst before removing the respective analyst mask factors for the corresponding contributors; and
encrypting, by the number of processors, the computational results after removing the analyst mask factors.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
adding a uniform broker mask value to the masked input data from contributors; and
removing the uniform broker mask value from the computational results before sending the computational results to the contributors.

### Claim 7 (depends on 1)

The method of claim 1, wherein the contributor mask values received from the contributors are encrypted with a public encryption key provided by the analyst.

### Claim 8

A computer program product for textual masking for multiparty computation, the computer program product comprising:
a non-volatile computer readable storage medium having program instructions embodied therewith, the program instructions executable by a number of processors to cause the computer to perform the steps of:
receiving masked input data from a number of contributors, wherein the input data from each contributor has a unique contributor mask value added by that contributor;
receiving a unique analyst mask factor for each contributor computed by an analyst as a difference between a uniform analyst mask value and the contributor mask value;
receiving an application programming interface (API) call from the analyst to aggregate the input data from the contributors;
adding the respective analyst mask factors to the masked input data from the corresponding contributors;
aggregating and randomly shuffling the input data from the contributors;
receiving and publishing computational results from the analyst based on the aggregated input data;
removing the respective analyst mask factors from the computational results in response to API calls from the contributors, wherein computational results for each contributor are masked only by the respective contributor mask value added by that contributor; and
sending the computational results to the contributors.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the masked input data received from each contributor comprises a first character sequence converted to a UNICODE sequence, wherein the respective contributor mask value is added to the UNICODE sequence, and converted to a second character sequence that is encoded with base64 encoding.

### Claim 10 (depends on 9)

The computer program product of claim 9, further comprising instructions for:
generating a UNICODE sequence for the masked input data received from each contributor before adding the respective analyst mask factor; and
generating a UNICODE sequence for the computational result received from the analyst before removing the respective analyst mask factors.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the input data and computational results are base64 encoded.

### Claim 12 (depends on 11)

The computer program product of claim 11, further comprising instructions for:
decoding the input data from each contributor before adding the respective analyst mask factor;
encrypting the input data from each contributor after adding the respective analyst mask factor and before aggregating and shuffling the input data;
decoding the computational results from the analyst before removing the respective analyst mask factors for the corresponding contributors; and
encrypting the computational results after removing the analyst mask factors.

### Claim 13 (depends on 8)

The computer program product of claim 8, further comprising instructions for:
adding a uniform broker mask value to the masked input data from contributors; and
removing the uniform broker mask value from the computational results before sending the computational results to the contributors.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the contributor mask values received from the contributors are encrypted with a public encryption key provided by the analyst.

### Claim 15

A system for textual masking for multiparty computation, the system comprising:
a bus system;
a storage device connected to the bus system, wherein the storage device stores program instructions; and
a number of processors connected to the bus system, wherein the number of processors execute the program instructions to:
receive masked input data from a number of contributors, wherein the input data from each contributor has a unique contributor mask value added by that contributor;
receive a unique analyst mask factor for each contributor computed by an analyst as a difference between a uniform analyst mask value and the contributor mask value;
receive an application programming interface (API) call from the analyst to aggregate the input data from the contributors;
add a uniform broker mask value and the respective analyst mask factors to the masked input data from the corresponding contributors;
aggregate and randomly shuffle the input data from the contributors;
receive and publish computational results from the analyst based on the aggregated input data;
remove the uniform broker mask value and the respective analyst mask factors from the computational results in response to API calls from the contributors, wherein computational results for each contributor are masked only by the respective contributor mask value added by that contributor; and
send the computational results to the contributors.

### Claim 16 (depends on 15)

The system according to claim 15, wherein the masked input data received from each contributor comprises a first character sequence converted to a UNICODE sequence, wherein the respective contributor mask value is added to the UNICODE sequence, and converted to a second character sequence that is encoded with base64 encoding.

### Claim 17 (depends on 16)

The system according to claim 16, wherein the number of processors further execute instructions to:
generate a UNICODE sequence for the masked input data received from each contributor before adding the respective analyst mask factor; and
generate a UNICODE sequence for the computational result received from the analyst before removing the respective analyst mask factors.

### Claim 18 (depends on 15)

The system according to claim 15, wherein the input data and computational results are base64 encoded.

### Claim 19 (depends on 18)

The system according to claim 18, wherein the number of processors further execute instructions to:
decode the input data from each contributor before adding the respective analyst mask factor;
encrypt the input data from each contributor after adding the uniform broker mask value and the respective analyst mask factor and before aggregating and shuffling the input data;
decode the computational results from the analyst before removing the uniform broker mask value and the respective analyst mask factors for the corresponding contributors; and
encrypt the computational results after removing uniform broker mask value and the analyst mask factors.

### Claim 20 (depends on 15)

The system according to claim 15, wherein the contributor mask values received from the contributors are encrypted with a public encryption key provided by the analyst.
