# US 2021/0263904 A1 · Categorizing encrypted data files

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

- Number: US 2021/0263904 A1
- Document ID: US20210263904A1
- Status: Published application
- Kind: A1
- Application number: 16/796,585
- Filed: 2020-02-20
- Published: 2021-08-26
- Earliest claimed: 2020-02-20
- Assignees: Lenovo (Singapore) Pte. Ltd.
- Applicants: LENOVO (Singapore) PTE. LTD.
- Inventors: Robert J. Kapinos; Scott W. Li; Robert J. Norton; Russell Speight VanBlon
- Web page: https://patentgrep.com/patent/US20210263904A1

## CPC

- G06F 16/2228: {Indexing structures}
- G06F 16/906: Clustering; Classification
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- H04L 9/0618: {Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

For categorizing encrypted data files, a processor determines a block cipher key length for a data file based on data file contents. The processor encrypts the data file with an encryption cipher using the block cipher key length. The processor further determines a data type for the encrypted data file from macroscopic artifacts of the encrypted data file.

## Claims

### Claim 1

An apparatus comprising:
a processor;
a memory that stores code executable by the processor to:
determine a block cipher key length for a data file based on data file contents;
encrypt the data file with an encryption cipher using the block cipher key length; and
determine a data type for the encrypted data file from macroscopic artifacts of the encrypted data file.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the code is further executable by the processor to index the encrypted data file based on the data type and present a plurality of indexed encrypted data files that are organized based on the indexing.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the data type comprises a file type, a file content class, and/or an image class.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the data type is determined by an encryption type model trained on training data comprising a plurality of encrypted and/or unencrypted data files and corresponding data types.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the data type is determined by identifying the macroscopic artifacts from a pattern search and selecting the data type that corresponds to the macroscopic artifact.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the code is further executable by the processor to:
determine a target entropy based on the data file length and the block cipher key length; and
determine the encryption cipher based on the target entropy.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the block cipher key length is less than three orders of magnitude of the data file length.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the block cipher key length has a minimum length sufficient to obscure data in the data file for the data type.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the data type is determined without access to a cipher key of the encryption cipher.

### Claim 10

A method comprising:
determining, by use of a processor, a block cipher key length for a data file based on data file contents;
encrypting the data file with an encryption cipher using the block cipher key length; and
determining a data type for the encrypted data file from macroscopic artifacts of the encrypted data file.

### Claim 11 (depends on 10)

The method of claim 10, the method further comprising indexing the encrypted data file based on the data type.

### Claim 12 (depends on 11)

The method of claim 11, the method further comprising presenting a plurality of indexed encrypted data files that are organized based on the indexing.

### Claim 13 (depends on 10)

The method of claim 10, wherein the data type comprises a file type, a file content class, and/or an image class.

### Claim 14 (depends on 10)

The method of claim 10, wherein the data type is determined by an encryption type model trained on training data comprising a plurality of encrypted and/or unencrypted data files and corresponding data types.

### Claim 15 (depends on 10)

The method of claim 10, wherein the data type is determined by identifying the macroscopic artifacts from a pattern search and selecting the data type that corresponds to the macroscopic artifact.

### Claim 16 (depends on 10)

The method of claim 10, the method further comprising:
determining a target entropy based on the data file length and the block cipher key length; and
determining the encryption cipher based on the target entropy.

### Claim 17 (depends on 10)

The method of claim 10, wherein the block cipher key length is less than three orders of magnitude of the data file length.

### Claim 18 (depends on 10)

The method of claim 10, wherein the block cipher key length has a minimum length sufficient to obscure data in the data file for the data type.

### Claim 19 (depends on 10)

The method of claim 10, wherein the data type is determined without access to a cipher key of the encryption cipher.

### Claim 20

A program product comprising a computer readable storage medium that stores code executable by a processor, the executable code comprising code to:
determine a block cipher key length for a data file based on data file contents;
encrypt the data file with an encryption cipher using the block cipher key length; and
determine a data type for the encrypted data file from macroscopic artifacts of the encrypted data file.
