# US 10,958,415 B2 · Method, apparatus, and computer-readable medium for searching polymorphically encrypted data

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

- Number: US 10,958,415 B2
- Document ID: US10958415B2
- Status: Granted
- Kind: B2
- Application number: 16/032,545
- Filed: 2018-07-11
- Published: 2020-01-16
- Granted: 2021-03-23
- Earliest claimed: 2018-07-11
- Assignees: Informatica Corporation
- Applicants: Informatica LLC
- Inventors: Igor Balabine; Richard Grondin
- Web page: https://patentgrep.com/patent/US10958415B2

## CPC

- G06F 21/6254: {by anonymising data, e.g. decorrelating personal data from the owner's identification}
- H04L 9/0618: {Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation}
- G06F 16/903: Querying (for retrieval from the web G06F16/953)
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- 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, apparatus, and computer-readable medium for searching polymorphically encrypted data includes generating one or more pseudonymous tokens by encrypting a ciphertext using a first algorithm and an encryption key, the first algorithm comprising a polymorphic algorithm configured to generate a distinct pseudonymous token for each application of the polymorphic algorithm to the same plaintext, storing, the one or more pseudonymous tokens in one or more data stores, and identifying data in the one or more data stores that corresponds to the ciphertext by querying the data store using a search token generated by encrypting the plaintext using a second algorithm and the encryption key, the search token being distinct from the one or more pseudonymous tokens.

## Claims

### Claim 1

A method executed by one or more computing devices for searching polymorphically encrypted data, the method comprising:
generating, by at least one of the one or more computing devices, one or more pseudonymous tokens by encrypting a ciphertext using a first algorithm and an encryption key, the first algorithm comprising a polymorphic algorithm configured to generate a distinct pseudonymous token for each application of the polymorphic algorithm to the same ciphertext with the same encryption key;
storing, by at least one of the one or more computing devices, the one or more pseudonymous tokens in a data store; and
identifying, by at least one of the one or more computing devices, data in the data store that corresponds to the ciphertext by querying the data store using a search token generated by encrypting the ciphertext using a second algorithm and the encryption key, the search token being distinct from the one or more pseudonymous tokens.

### Claim 2 (depends on 1)

The method of claim 1, wherein identifying data in the data store that corresponds to the ciphertext by querying the data store using the search token generated by encrypting the ciphertext using the second algorithm and the encryption key comprises:
applying one or more first transformations to one or more columns containing the one or more pseudonymous tokens to generate one or more transformed columns;
applying one or more second transformations to the search token to generate a transformed search token; and
identifying one or more rows corresponding to the ciphertext based at least in part on the one or more transformed columns and the transformed search token.

### Claim 3 (depends on 2)

The method of claim 2, wherein the identifying of the one or more rows corresponding to the ciphertext based at least in part on the one or more transformed columns and the transformed search token comprises:
comparing each transformed column value in the one or more transformed columns to the transformed search token using a matching function to identify one or more matching transformed column values; and
identifying one or more rows containing the one or more matching transformed column values as corresponding to the ciphertext.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
displaying, by at least one of the one or more computing devices, a first result if the search token is matched with the one or more pseudonymous tokens of a plurality of pseudonymous tokens, the first result including a list of at least one pseudonymous tokens; and
displaying, by at least one of the one or more computing devices, a different second result if the search token does not match with the one or more pseudonymous tokens of the plurality of pseudonymous tokens.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
modifying, by at least one of the one or more computing devices, the distinct pseudonymous token of the plurality of pseudonymous tokens by adding a respective one of one or more pseudo random permutation (PRP) seeds in the distinct pseudonymous token.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
encrypting, by at least one of the one or more computing devices, the respective one of the one or more PRP seeds using a different third algorithm and the encryption key, wherein the adding the respective one of the one or more PRP seeds includes adding the respective PRP seed either before or after the distinct pseudonymous token.

### Claim 7 (depends on 6)

The method in claim 6, further comprising:
encrypting, by at least one of the one or more computing devices, the one or more PRP seeds based on content of the distinct pseudonymous token as an initialization vector.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
detaching, by at least one of the one or more computing devices, the encrypted one or more PRP seeds; and
decrypting, by at least one of the one or more computing devices, the encrypted one or more PRP seeds using the third algorithm and the encryption key.

### Claim 9 (depends on 8)

The method in claim 8, further comprising:
decrypting, by at least one of the one or more computing devices, the one or more PRP seeds based on content of the distinct pseudonymous token as an initialization vector.

### Claim 10 (depends on 6)

The method of claim 6, further comprising:
decrypting, by at least one of the one or more computing devices, the respective pseudonymous token using a decryption first algorithm and the encryption key after detaching the respective PRP seed from the distinct pseudonymous token.

### Claim 11 (depends on 1)

The method of claim 1, wherein the second algorithm is different from the first algorithm.

### Claim 12

A system for searching polymorphically encrypted data, comprising:
one or more processors; and
one or more memories operatively coupled to at least one of the one or more processors and having instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
generate one or more pseudonymous tokens by encrypting a ciphertext using a first algorithm and an encryption key, the first algorithm comprising a polymorphic algorithm configured to generate a distinct pseudonymous token for each application of the polymorphic algorithm to the same ciphertext with the same encryption key;
store the one or more pseudonymous tokens in a data store; and
identify data in the data store that corresponds to the ciphertext by querying the data store using a search token generated by encrypting the ciphertext using a second algorithm and the encryption key, the search token being distinct from the one or more pseudonymous tokens.

### Claim 13 (depends on 12)

The system of claim 12, wherein at least one of the one or more memories has further instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
apply one or more first transformations to one or more columns containing the one or more pseudonymous tokens to generate one or more transformed columns;
apply one or more second transformations to the search token to generate a transformed search token; and
identify one or more rows corresponding to the ciphertext based at least in part on the one or more transformed columns and the transformed search token.

### Claim 14

The system of 13, wherein at least one of the one or more memories has further instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
compare each transformed column value in the one or more transformed columns to the transformed search token using a matching function to identify one or more matching transformed column values; and
identify one or more rows containing the one or more matching transformed column values as corresponding to the ciphertext.

### Claim 15 (depends on 12)

The system of claim 12, wherein at least one of the one or more memories has further instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
modify the distinct pseudonymous token of the plurality of pseudonymous tokens by adding a respective one of one or more pseudo random permutation (PRP) seeds in the distinct pseudonymous token.

### Claim 16 (depends on 15)

The system of claim 15, wherein at least one of the one or more memories has further instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
encrypt the respective one of the one or more PRP seeds using a different third algorithm and the encryption key, wherein the adding the respective one of the one or more PRP seeds includes adding the respective PRP seed either before or after the distinct pseudonymous token.

### Claim 17 (depends on 16)

The system of claim 16, wherein at least one of the one or more memories has further instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
encrypt the one or more PRP seeds based on using the content of the distinct pseudonymous token as an initialization vector when encrypting one or more PRP seeds.

### Claim 18 (depends on 16)

The system of claim 16, wherein at least one of the one or more memories has further instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
detach the encrypted one or more PRP seeds; and
decrypt the encrypted one or more PRP seeds using the third algorithm and the encryption key.

### Claim 19 (depends on 18)

The system of claim 18, wherein at least one of the one or more memories has further instructions stored thereon that, when executed by at least one of the one or more processors, cause at least one of the one or more processors to:
decrypt the one or more PRP seeds based on using the content of the distinct pseudonymous token as an initialization vector when decrypting one or more PRP seeds.

### Claim 20

At least one non-transitory computer-readable medium storing computer-readable instructions that, when executed by one or more computing devices, cause at least one of the one or more computing devices to:
generate one or more pseudonymous tokens by encrypting a ciphertext using a first algorithm and an encryption key, the first algorithm comprising a polymorphic algorithm configured to generate a distinct pseudonymous token for each application of the polymorphic algorithm to the same ciphertext with the same encryption key;
store the one or more pseudonymous tokens in a data store; and
identify data in the data store that corresponds to the ciphertext by querying the data store using a search token generated by encrypting the ciphertext using a second algorithm and the encryption key, the search token being distinct from the one or more pseudonymous tokens.
