# US 2010/0074443 A1 · Image encryption and image decryption apparatus and method

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

- Number: US 2010/0074443 A1
- Document ID: US20100074443A1
- Status: Published application
- Kind: A1
- Application number: 12/626,104
- Filed: 2009-11-25
- Published: 2010-03-25
- Earliest claimed: 2007-05-30
- Assignees: Fujitsu Limited
- Inventors: Hideaki ISHII; Taizo Anan; Kensuke Kuraki; Shohei Nakagata
- Web page: https://patentgrep.com/patent/US20100074443A1

## CPC

- H04N 1/32144: {embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp}
- G09C 5/00: Ciphering apparatus or methods not provided for in the preceding groups, e.g. involving the concealment or deformation of graphic data such as designs, written or printed messages
- H04N 1/32272: {Encryption or ciphering}
- H04N 1/4486: {using digital data encryption}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY

## Abstract

Input data is converted into an image, and in the input image, an encryption region that is a region in which the image is to be encrypted. Meanwhile, on the basis of an encryption key, encryption key-related information that is information related to the encryption key is generated, and the encryption key-related information is embedded into the image in the encryption region, to generate a first intermediate image. Next, the first intermediate image is converted on the basis of the encryption key, to generate a second intermediate image. Then, the pixel values of the second intermediate image are converted so that the position of the encryption region can be specified. As a result of the conversion, an encrypted image in which the part corresponding to the encryption region in the input image is generated.

## Claims

### Claim 1

An image encryption apparatus encrypting an image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image to be a target of encryption;
encryption region specifying means to specify, with regard to an image obtained by the input means, a region to be encrypted;
image conversion means to convert an image in an encryption region specified by the encryption region specifying means into a first intermediate image on a basis of an encryption key;
key-related information generation means to generate encryption key-related information on a basis of the encryption key;
information embedding means to embed the encryption key-related information into the first intermediate image to generate a second intermediate image;
pixel value conversion means to perform pixel value conversion for the second intermediate image so that a position of the encryption region can be specified at a time of decryption; and
output means to output an image generated in the pixel value conversion means while performing format conversion of the image as needed.

### Claim 2

An image encryption apparatus encrypting an image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image to be a target of encryption;
encryption region specifying means to specify, with regard to an image obtained by the input means, a region to be encrypted;
key-related information generation means to generate encryption key-related information on a basis of the encryption key;
information embedding means to embed the encryption key-related information into an image in the encryption region to generate a first intermediate image;
image conversion means to convert the first intermediate image on a basis of the encryption key to generate a second intermediate image;
pixel value conversion means to perform pixel value conversion for the second intermediate image so that a position of the encryption region can be specified at a time of decryption; and
output means to output an image generated in the pixel value conversion means while performing format conversion of the image as needed.

### Claim 3 (depends on 2)

The image encryption apparatus according to claim 2, wherein
the key-related information generation means generates the encryption key-related information by performing hash transformation of the encryption key.

### Claim 4 (depends on 2)

The image encryption apparatus according to claim 2, wherein
the information embedding means embeds the encryption key-related information into the image in the encryption region by converting pixel values of the image in the encryption region on a basis of the encryption key-related information.

### Claim 5 (depends on 4)

The image encryption apparatus according to claim 4, wherein
the converting of pixel values is inversion of pixel values.

### Claim 6 (depends on 4)

The image encryption apparatus according to claim 4, wherein
the information embedding means converts pixel values in the image in the encryption region in accordance with a pattern corresponding to information to be embedded.

### Claim 7 (depends on 4)

The image encryption apparatus according to claim 4, wherein
the information embedding means embeds the encryption key-related information by electronic watermarking methods.

### Claim 8

An image decryption apparatus decrypting an encrypted image to generate a decrypted image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image as an encrypted image;
encrypted position detection means to detect a position of an encryption region from the encrypted image;
pixel value conversion means to convert pixel values in the encryption region to generate a first intermediate image;
embedded information detection means to detect the encryption key-related information embedded in the first intermediate image;
key-related information generation means to convert a decryption key into decryption key-related information;
authentication means to crosscheck the encryption key-related information and the decryption key-related information to check whether the decryption key is correct;
embedded information removal means to remove, when the decryption key is authenticated as correct by the authentication means, the encryption key-related information from the first intermediate image to generate a second intermediate image;
image conversion means to convert the second intermediate image on a basis of the decryption key to generate a decrypted image; and
output means to output the decrypted image while performing format conversion of the decrypted image as needed.

### Claim 9

An image decryption apparatus decrypting an encrypted image to generate a decrypted image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image as an encrypted image;
encrypted position detection means to detect a position of an encryption region from the encrypted image;
pixel value conversion means to convert pixel values in the encryption region to generate a first intermediate image;
image conversion means to convert the first intermediate image on a basis of a decryption key to generate a second intermediate image;
embedded information detection means to detect the encryption key-related information embedded in the second intermediate image;
key-related information generation means to convert the decryption key into decryption key-related information;
authentication means to crosscheck the encryption key-related information and the decryption key-related information to check whether the decryption key is correct;
embedded information removal means to remove, when the decryption key is authenticated as correct by the authentication means, the encryption key-related information from the second intermediate image to generate a decrypted image; and
output means to output the decrypted image while performing format conversion of the decrypted image as needed.

### Claim 10 (depends on 9)

The image decryption apparatus according to claim 9, wherein
the key-related information generation means generates the decryption key-related information from the decryption key using a method similar to a method of generating the encryption key-related information from the encryption key.

### Claim 11

An image encryption method for encrypting an image, comprising:
obtaining input data, performing format conversion of the obtained input data into an image as needed, and inputting the image to be a target of encryption;
specifying, with regard to an image obtained by the obtaining, a region to be encrypted;
converting an image in an encryption region specified by the specifying into a first intermediate image on a basis of an encryption key;
generating encryption key-related information on a basis of the encryption key;
embedding the encryption key-related information generated by the generating into the first intermediate image to generate a second intermediate image;
performing pixel value conversion for the second intermediate image generated by the embedding; and
outputting the image after the pixel value conversion while performing format conversion of the image as needed.

### Claim 12

An image encryption method for encrypting an image, comprising:
obtaining input data, performing format conversion of the obtained input data into an image as needed, and inputting the image to be a target of encryption;
specifying, with regard to an image obtained by the obtaining, a region to be encrypted;
generating, on a basis of the encryption key, encryption key-related information that is information related to the encryption key;
embedding the encryption key-related information generated by the generating into an image in the encryption region specified by the specifying to generate a first intermediate image;
converting the first intermediate image on a basis of the encryption key to generate a second intermediate image;
performing pixel value conversion for the second intermediate image generated by the converting; and
outputting the image after the pixel conversion while performing format conversion of the image as needed.

### Claim 13 (depends on 12)

The image encryption method according to claim 12, wherein
in the embedding, the encryption key-related information is embedded into the image in the encryption region by converting pixel values of the image in the encryption region on a basis of the encryption key-related information.

### Claim 14 (depends on 13)

The image encryption method according to claim 13, wherein
in the embedding, pixel values in the image in the encryption region are converted in accordance with a pattern corresponding to information to be embedded.

### Claim 15

An image decryption method for decrypting an encrypted image, comprising:
obtaining input data, performing format conversion of the obtained data into an image as needed, and inputting the image as an encrypted image;
detecting a position of an encryption region from the encrypted image;
converting pixel values in the encryption region detected by the detecting to generate a first intermediate image;
detecting the encryption key-related information embedded in the first intermediate image;
converting a decryption key into decryption key-related information;
crosschecking the encryption key-related information and the decryption key-related information to check whether the decryption key is correct;
removing, when the decryption key is authenticated as correct by the crosschecking, the encryption key-related information from the first intermediate image to generate a second intermediate image;
converting the second intermediate image on a basis of the decryption key to generate a decrypted image; and
outputting the decrypted image while performing format conversion of the decrypted image as needed.

### Claim 16

An image decryption method for decrypting an encrypted image to generate a decrypted image, comprising:
obtaining input data, performing format conversion of the obtained data into an image as needed, and inputting the image as an encrypted image;
detecting a position of an encryption region from the encrypted image;
converting pixel values in the encryption region to generate a first intermediate image;
converting the first intermediate image on a basis of a decryption key to generate a second intermediate image;
detecting the encryption key-related information embedded in the second intermediate image;
converting the decryption key into decryption key-related information;
crosschecking the encryption key-related information and the decryption key-related information to check whether the decryption key is correct;
removing, when the decryption key is authenticated as correct by the crosschecking, the encryption key-related information from the second intermediate image to generate a decrypted image;
outputting the decrypted image while performing format conversion of the decrypted image as needed.

### Claim 17 (depends on 16)

The image decryption method according to claim 16, wherein
in the converting the decryption key into decryption key-related information, the decryption key-related information is generated from the decryption key using a method similar to a method of generating the encryption key-related information from the encryption key.

### Claim 18

A computer-readable record medium which records an image encryption program for making a computer function, in order to encrypt an image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image to be a target of encryption;
encryption region specifying means to specify, with regard to an image obtained by the input means, a region to be encrypted;
image conversion means to convert an image in an encryption region specified by the encryption region specifying means into a first intermediate image on a basis of an encryption key;
key-related information generation means to generate encryption key-related information on a basis of the encryption key;
information embedding means to embed the encryption key-related information into the first intermediate image to generate a second intermediate image;
pixel value conversion means to perform pixel value conversion for the second intermediate image so that a position of the encryption region can be specified at a time of decryption; and
output means to output an image generated by the pixel value conversion means while performing format conversion of the image as needed.

### Claim 19

A computer-readable record medium which records an image encryption program for making a computer function, in order to encrypt an image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image to be a target of encryption;
encryption region specifying means to specify, with regard to an image obtained by the input means, a region to be encrypted;
key-related information generation means to generate encryption key-related information on a basis of the encryption key;
information embedding means to embed the encryption key-related information into an image in the encryption region to generate a first intermediate image;
image conversion means to convert the first intermediate image on a basis of the encryption key to generate a second intermediate image;
pixel value conversion means to perform pixel value conversion for the second intermediate image so that a position of the encryption region can be specified at a time of decryption; and
output means to output an image generated by the pixel value conversion means while performing format conversion of the image as needed.

### Claim 20 (depends on 19)

The computer-readable record medium according to claim 19,
wherein
the information embedding means embeds the encryption key-related information into the image in the encryption region by converting pixel values of the image in the encryption region on a basis of the encryption key-related information.

### Claim 21 (depends on 20)

The computer-readable record medium according to claim 20,
wherein
the information embedding means converts pixel values in the image in the encryption region in accordance with a pattern corresponding to information to be embedded.

### Claim 22

A computer-readable record medium which records an image decryption program for making a computer function, in order to decrypt an encrypted image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image as an encrypted image;
encrypted position detection means to detect a position of an encryption region from the encrypted image;
pixel value conversion means to convert pixel values in the encryption region to generate a first intermediate image;
embedded information detection means to detect the encryption key-related information embedded in the first intermediate image;
key-related information generation means to convert a decryption key into decryption key-related information;
authentication means to crosscheck the encryption key-related information and the decryption key-related information to check whether the decryption key is correct;
embedded information removal means to remove, when the decryption key is authenticated as correct by the authentication means, the encryption key-related information from the first intermediate image to generate a second intermediate image;
image conversion means to convert the second intermediate image on a basis of the decryption key to generate a decrypted image; and
output means to output the decrypted image while performing format conversion of the decrypted image as needed.

### Claim 23

A computer-readable record medium which records an image decryption program for making a computer function, in order to decrypt an encrypted image, comprising:
input means to obtain input data, perform format conversion of the obtained input data into an image as needed, and input the image as an encrypted image;
encrypted position detection means to detect a position of an encryption region from the encrypted image;
pixel value conversion means to convert pixel values in the encryption region to generate a first intermediate image;
image conversion means to convert the first intermediate image on a basis of a decryption key to generate a second intermediate image;
embedded information detection means to detect the encryption key-related information embedded in the second intermediate image;
key-related information generation means to convert the decryption key into decryption key-related information;
authentication means to crosscheck the encryption key-related information and the decryption key-related information to check whether the decryption key is correct;
embedded information removal means to remove, when the decryption key is authenticated as correct by the authentication means, the encryption key-related information from the second intermediate image to generate a decrypted image;
output means to output the decrypted image while performing format conversion of the decrypted image as needed.

### Claim 24 (depends on 23)

The computer-readable record medium according to claim 23, wherein
the key-related information generation means generates the decryption key-related information from the decryption key using a method similar to a method of generating the encryption key-related information from the encryption key.
