# US 2025/0158799 A1 · Homomorphic Encryption-Based Image Encryption And Decryption Method And Device

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

- Number: US 2025/0158799 A1
- Document ID: US20250158799A1
- Status: Published application
- Kind: A1
- Application number: 18/394,419
- Filed: 2023-12-22
- Published: 2025-05-15
- Earliest claimed: 2023-11-10
- Assignees: Deep-In-Sight Co., Ltd.
- Applicants: Deep-In-Sight Co., Ltd.
- Inventors: Inchan JI
- Web page: https://patentgrep.com/patent/US20250158799A1

## CPC

- H04L 9/008: {involving homomorphic encryption}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed is a homomorphic encryption-based image encryption method according to some exemplary embodiments of the present disclosure. The method may include: allocating a plurality of pixels included in an image to a plurality of encryption slots according to a predetermined pixel sorting ranking, wherein the predetermined pixel sorting ranking is determined by a row index, a column index, and an RGB channel of a pixel; and performing homomorphic encryption for pixel values of a pixel group allocated to each of the plurality of encryption slots.

## Claims

### Claim 1

A homomorphic encryption-based image encryption method comprising:
allocating a plurality of pixels included in an image to a plurality of encryption slots according to a predetermined pixel sorting ranking, wherein the predetermined pixel sorting ranking is determined by a row index, a column index, and an RGB channel of a pixel; and
performing homomorphic encryption for pixel values of a pixel group allocated to each of the plurality of encryption slots.

### Claim 2 (depends on 1)

The homomorphic encryption-based image encryption method of claim 1, wherein the sequentially allocating of the plurality of pixels included in the image to the plurality of encryption slots according to the predetermined pixel sorting ranking includes
sequentially allocating a plurality of pixels corresponding to a first row index and a first RGB channel to the plurality of encryption slots along the first row index,
sequentially allocating a plurality of pixels corresponding to a second row index different from the first row index and the first RGB channel to the plurality of encryption slots along the second row index, and
sequentially allocating a plurality of pixels corresponding to the first row index and a second RGB channel different from the first RGB channel to the plurality of encryption slots along the first row index.

### Claim 3 (depends on 1)

The homomorphic encryption-based image encryption method of claim 1, wherein the allocating of the plurality of pixels included in the image to the plurality of encryption slots according to the predetermined pixel sorting ranking includes
allocating a plurality of pixels corresponding to a first column index and the first RGB channel to the plurality of encryption slots along the first column index,
allocating a plurality of pixels corresponding to a second column index different from the first column index and the first RGB channel to the plurality of encryption slots along the second column index, and
allocating a plurality of pixels corresponding to the first column index and a second RGB channel different from the first RGB channel to the plurality of encryption slots along the first column index.

### Claim 4 (depends on 1)

The homomorphic encryption-based image encryption method of claim 1, wherein the allocating of the plurality of pixels included in the image to the plurality of encryption slots according to the predetermined pixel sorting ranking includes
sequentially allocating pixels corresponding to a first row and a first column to the plurality of encryption slots while changing an RGB channel,
allocating pixels corresponding to a second row different from the first row and the first column to the plurality of encryption slots while changing the RGB channel, and
allocating pixels corresponding to the first row and a second column different from the first column to the plurality of encryption slots while changing the RGB channel.

### Claim 5 (depends on 1)

The homomorphic encryption-based image encryption method of claim 1, wherein the predetermined pixel sorting ranking for an image including a block having a predetermined size is determined by using a block sorting order, a row index, a column index, and an RGB channel of a pixel.

### Claim 6 (depends on 1)

The homomorphic encryption-based image encryption method of claim 1, further comprising:
storing homomorphic encryption data including the plurality of encryption slots for which the homomorphic encryption is performed, and header data.

### Claim 7 (depends on 6)

The homomorphic encryption-based image encryption method of claim 6, wherein the header data includes pixel sorting ranking information, image format information, image size information, and encryption slot bit number information.

### Claim 8 (depends on 1)

The homomorphic encryption-based image encryption method of claim 1, wherein the performing of the homomorphic encryption for the pixel values of the pixel group allocated to each of the plurality of encryption slots includes
performing a homomorphic encryption operation for pixel values of the pixel group allocated to two or more encryption slots in parallel.

### Claim 9 (depends on 1)

The homomorphic encryption-based image encryption method of claim 1, further comprising:
determining the number of plurality of encryption slots to be used for the homomorphic encryption of the image based on a resolution or the number of pixels of the image.

### Claim 10 (depends on 1)

A homomorphic encryption-based image decryption method comprising:
acquiring header data and a plurality of encryption slots from homomorphic encryption data generated by the homomorphic encryption-based image encryption method of claim 1;
performing decryption for homomorphically encrypted pixel values of a pixel group allocated to each of the plurality of encryption slots; and
restoring an image by combining the decrypted pixel values of the pixel group based on the header data, wherein the header data includes pixel sorting ranking information, image format information, image size information, and encryption slot bit number information.

### Claim 11

A homomorphic encryption-based video encryption method comprising:
allocating a plurality of pixels included in a first frame of a video to a plurality of encryption slots according to a predetermined pixel sorting ranking, wherein the predetermined pixel sorting ranking is determined by a row index, a column index, and an RGB channel;
allocating a plurality of pixels included in a second frame of the video to the plurality of encryption slots according to the predetermined pixel sorting ranking; and
performing homomorphic encryption for pixel values of a pixel group allocated to each of the plurality of encryption slots.

### Claim 12

A non-transitory computer readable medium storing a computer program, wherein the computer program includes instructions for causing one or more processors to perform a homomorphic encryption-based image encryption method, the method comprising:
allocating a plurality of pixels included in an image to a plurality of encryption slots according to a predetermined pixel sorting ranking, wherein the predetermined pixel sorting ranking is determined by a row index, a column index, and an RGB channel of a pixel; and
performing homomorphic encryption for pixel values of a pixel group allocated to each of the plurality of encryption slots.

### Claim 13

A computing device performing a homomorphic encryption-based image encryption method, the computing device comprising:
a memory including computer-executable components; and
a processor executing following computer-executable components stored in the memory,
wherein the processor is configured to
allocate a plurality of pixels included in an image to a plurality of encryption slots according to a predetermined pixel sorting ranking, wherein the predetermined pixel sorting ranking is determined by a row index, a column index, and an RGB channel of a pixel, and
perform homomorphic encryption for pixel values of a pixel group allocated to each of the plurality of encryption slots.
