Encryption device, computer-readable recording medium, and encryption method
AssigneeMegaChips Corporation
InventorNobuyuki Takasu
Life of this patent
Estimating the term…
Abstract
An encryption circuit includes a fundamental vector generation circuit configured to generate a random number sequence for serving as a fundamental vector based on an initial vector, an image mask generation circuit configured to generate an image mask with a mask value set for each pixel in a region to be encrypted smaller than a frame size of the image, based on the fundamental vector and coordinate information for specifying the region to be encrypted, and an XOR operation circuit configured to compute an exclusive OR between each mask value of the image mask and each pixel value of the image data to generate encrypted image data.
Claims16
An encryption device configured to encrypt image data in a stream cipher system, the device comprising:
- processing circuitry configured to
- generate a random number sequence for serving as a fundamental vector based on an initial vector,
- generate an image mask, the image mask having a mask value set for each pixel in a region to be encrypted, the region to be encrypted being smaller than a frame size of the image, the image mask being generated based on the fundamental vector and coordinate information for specifying the region to be encrypted,
- rearrange the random number sequence of the fundamental vector in a different sequence for each row of pixels in the image to specify the mask value of each line of the image mask, and
- compute an exclusive OR between each mask value of the image mask and each pixel value of the image data to generate encrypted image data.
A non-transitory computer-readable recording medium having recorded thereon a program for causing a computer to execute instructions comprising:
- generating a random number sequence for serving as a fundamental vector based on an initial vector;
- generating an image mask, the image mask having a mask value set for each pixel in a region to be encrypted, the region to be encrypted being smaller than a frame size of the image, the image mask being generated based on the fundamental vector and coordinate information for specifying the region to be encrypted;
- rearranging the random number sequence of the fundamental vector in a different sequence for each row of pixels in the image to specify the mask value of each line of the image mask;
- and
- computing an exclusive OR between each mask value of the image mask and each pixel value of the image data to generate encrypted image data.
An encryption method comprising:
- generating a random number sequence for serving as a fundamental vector based on an initial vector;
- generating an image mask, the image mask having a mask value set for each pixel in a region to be encrypted, the region to be encrypted being smaller than a frame size of the image, the image mask being generated based on the fundamental vector and coordinate information for specifying the region to be encrypted;
- rearranging the random number sequence of the fundamental vector in a different sequence for each row of pixels in the image to specify the mask value of each line of the image mask;
- and
- computing an exclusive OR between each mask value of the image mask and each pixel value of the image data to generate encrypted image data.
An encryption device configured to encrypt image data in a stream cipher system, the device comprising:
- processing circuitry configured to
- generate a random number sequence for serving as a fundamental vector based on an initial vector,
- generate an image mask, the image mask having a mask value set for each pixel in a region to be encrypted, the region to be encrypted being smaller than a frame size of the image, the image mask being generated based on the fundamental vector and coordinate information for specifying the region to be encrypted,
- variably specify a randomness of the mask value, the randomness being based on a plurality of effective data lengths of an entire data length of the fundamental vector where each effective data length is different from the other effective data lengths, the different effective data lengths being based on strength-specifying information for specifying encryption strength, and
- compute an exclusive OR between each mask value of the image mask and each pixel value of the image data to generate encrypted image data.
A non-transitory computer-readable recording medium having recorded thereon a program for causing a computer to execute instructions comprising:
- generating a random number sequence for serving as a fundamental vector based on an initial vector;
- generating an image mask, the image mask having a mask value set for each pixel in a region to be encrypted, the region to be encrypted being smaller than a frame size of the image, the image mask being generated based on the fundamental vector and coordinate information for specifying the region to be encrypted;
- variably specifying a randomness of the mask value, the randomness being based on a plurality of effective data lengths of an entire data length of the fundamental vector where each effective data length is different from the other effective data lengths, the different effective data lengths being based on strength-specifying information for specifying encryption strength;
- and
- computing an exclusive OR between each mask value of the image mask and each pixel value of the image data to generate encrypted image data.
An encryption method comprising:
- generating a random number sequence for serving as a fundamental vector based on an initial vector;
- generating an image mask, the image mask having a mask value set for each pixel in a region to be encrypted, the region to be encrypted being smaller than a frame size of the image, the image mask being generated based on the fundamental vector and coordinate information for specifying the region to be encrypted;
- variably specifying a randomness of the mask value, the randomness being based on a plurality of effective data lengths of an entire data length of the fundamental vector where each effective data length is different from the other effective data lengths, the different effective data lengths being based on strength-specifying information for specifying encryption strength;
- and
- computing an exclusive OR between each mask value of the image mask and each pixel value of the image data to generate encrypted image data.
Dependencies are inferred from the claim text.