# US 2019/0296914 A1 · Perturbation-based order preserving pseudonymization of data

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

- Number: US 2019/0296914 A1
- Document ID: US20190296914A1
- Status: Published application
- Kind: A1
- Application number: 15/926,460
- Filed: 2018-03-20
- Published: 2019-09-26
- Earliest claimed: 2018-03-20
- Assignees: Entit Software LLC
- Applicants: EntIT Software LLC
- Inventors: Luther Martin; Timothy Roake
- Web page: https://patentgrep.com/patent/US20190296914A1

## CPC

- H04L 9/3236: {using cryptographic hash functions}
- H04L 63/04: {for providing a confidential data exchange among entities communicating through data packet networks}
- G09C 1/00: Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system (cryptographic typewriters G09C3/00)
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/0662: {with particular pseudorandom sequence generator}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 2209/42: Anonymization, e.g. involving pseudonyms
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY

## Abstract

A technique includes converting a plurality of plaintext values to a corresponding plurality of pseudonym values. The conversion includes performing encryption of the plurality of plaintext values to provide a plurality of second values; perturbing the plurality of second values to provide the plurality of pseudonym values; and controlling the perturbing to cause an ordering of the plaintext values to be represented in the plurality of pseudonym values.

## Claims

### Claim 1

A method comprising:
accessing data representing a plurality of plaintext values; and
converting the plurality of plaintext values to a corresponding plurality of pseudonym values, wherein converting the plurality of plaintext values comprises:
performing encryption of the plurality of plaintext values to provide a plurality of second values;
perturbing the plurality of second values to provide the plurality of pseudonym values; and
controlling the perturbing to cause an ordering of the plaintext values to be represented in the plurality of pseudonym values.

### Claim 2 (depends on 1)

The method of claim 1, wherein perturbing the plurality of second values comprises, for a given second value:
pseudorandomly or randomly generating a value and adding the generated value to the second value to provide corresponding pseudonym value of the plurality of pseudonym values.

### Claim 3 (depends on 2)

The method of claim 2, wherein controlling the perturbing comprises constraining the generated value to be within a first range smaller than a second range of the corresponding pseudonym value.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
perturbing the plurality of second values comprises, for a given second value, generating a value to be added to the given second value to provide a candidate for a corresponding pseudonym of the plurality of pseudonyms; and
controlling the perturbing comprises:
determining whether the candidate collides with any other pseudonym of the plurality of pseudonyms; and
accepting the candidate as the corresponding pseudonym in response to a determination that the candidate does not collide with any other pseudonym of the plurality of pseudonyms.

### Claim 5 (depends on 4)

The method of claim 4, further comprising, in response to a determination that the candidate collides with another pseudonym of the plurality of pseudonyms:
generating another value to be added to the given second value to provide another candidate for the corresponding pseudonym.

### Claim 6 (depends on 4)

The method of claim 4, wherein generating the value comprises applying a hash function to provide a hash to be added to the given second value.

### Claim 7 (depends on 6)

The method of claim 6, wherein applying the hash function comprises applying the hash function to a plaintext values of the plurality of plaintext values corresponding to the given second value.

### Claim 8 (depends on 6)

The method of claim 6, wherein applying the hash function comprises applying an order preserving hash function.

### Claim 9 (depends on 6)

The method of claim 6, wherein applying the hash function comprises applying a cryptographic hash function.

### Claim 10 (depends on 1)

The method of claim 1, wherein performing encryption comprises performing order preserving encryption.

### Claim 11 (depends on 1)

The method of claim 1, wherein the controlling the perturbing comprises preserving the ordering of the plaintext values in the corresponding plurality of pseudonym values.

### Claim 12 (depends on 1)

The method of claim 1, wherein converting the plurality of plaintext values to the corresponding plurality of pseudonym values comprises applying irreversible conversion of the plurality of plaintext values such that the plurality of plaintext values cannot be recovered from the plurality of pseudonym values.

### Claim 13

An apparatus comprising:
at least one processor; and
a memory to store instructions that, when executed by the at least one processor, cause the at least one processor to:
apply an order preserving encryption cipher to a plurality of plaintext values to provide ciphertext values; and
add a plurality of pseudorandom values to the ciphertext values to generate a plurality of pseudonym values corresponding to the plurality of plaintext values.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the instructions, when executed by the at least one processor, cause the at least one processor to:
generate a plurality of candidate pseudorandom values; and
filter the plurality of candidate pseudorandom values to provide a plurality of perturbation values to preserve an ordering of the plaintext values in the corresponding plurality of pseudonym values.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the filter removes a pseudorandom value of the generated plurality of candidate pseudorandom values which, if added to a given ciphertext value, causes an order disrupting collision with a pseudonym values of corresponding plurality of pseudonym values.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein a given ciphertext value of the plurality of ciphertext values has an associated first bit size, and a given pseudorandom values of the plurality of pseudorandom values has an associated bit second bit size less than the first bit size.

### Claim 17

A non-transitory machine readable storage medium storing instructions that, when executed by a machine, cause the machine to:
access a first dataset representing a collection of values;
apply an order preserving cipher to encrypt a first value of the collection of values to generate a second value;
adjust the second value based on a hash of the first value to generate a third value;
provide a second dataset representing a collection of pseudonyms corresponding to the collection of values; and
set the pseudonym corresponding to the first value equal to the third value.

### Claim 18 (depends on 17)

The storage medium of claim 17, wherein the instructions, when executed by the machine, cause the machine to apply an order preserving hash function to the first value to generate the third value.

### Claim 19 (depends on 17)

The storage medium of claim 17, wherein the instructions, when executed by the machine, cause the machine to apply cryptographic hash function to the first value to generate the third value.

### Claim 20 (depends on 17)

The storage medium of claim 17, wherein the instructions, when executed by the machine, cause the machine to:
determine another hash of the first value;
determine that adjustment of the second value by the another hash causes a resulting adjusted value to be inconsistent with an ordering of the collection of values; and
based on the determination that the adjustment causes a resulting adjusted value to be inconsistent, determine another hash of the first value to be used to adjust the second value.
