(19)
(11) EP 2 791 855 B1

(12) EUROPEAN PATENT SPECIFICATION

(45) Mention of the grant of the patent:
23.01.2019 Bulletin 2019/04

(21) Application number: 11877297.9

(22) Date of filing: 15.12.2011
(51) International Patent Classification (IPC): 
G06F 21/60(2013.01)
H04N 21/2347(2011.01)
G06F 15/16(2006.01)
H04L 29/06(2006.01)
(86) International application number:
PCT/US2011/065284
(87) International publication number:
WO 2013/089758 (20.06.2013 Gazette 2013/25)

(54)

PRESERVING IMAGE PRIVACY WHEN MANIPULATED BY CLOUD SERVICES

SCHUTZ DER PRIVATSPHÄRE BEI EINER BILDBEARBEITUNG DURCH CLOUD-DIENSTE

PRÉSERVATION DU CARACTÈRE PRIVÉ D'IMAGES LORS DE LEUR MANIPULATION PAR DES SERVICES D'INFORMATIQUE EN NUAGE


(84) Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(43) Date of publication of application:
22.10.2014 Bulletin 2014/43

(73) Proprietor: Intel Corporation
Santa Clara, CA 95054 (US)

(72) Inventors:
  • DURHAM, David M.
    Beaverton, Oregon 97007 (US)
  • LONG, Men
    Beaverton, Oregon 97006 (US)
  • GREWAL, Karanvir S.
    Hillsboro, Oregon 97124 (US)
  • DEWAN, Prashant
    Hillsboro, Oregon 97124 (US)
  • KANG, Xiaozhu
    Fremont, California 94538 (US)

(74) Representative: Rummler, Felix et al
Maucher Jenkins 26 Caxton Street
London SW1H 0RJ
London SW1H 0RJ (GB)


(56) References cited: : 
EP-A2- 1 187 483
US-A1- 2003 235 325
US-A1- 2004 141 613
US-A1- 2011 197 056
EP-A2- 1 906 332
US-A1- 2004 081 334
US-A1- 2006 045 309
US-A1- 2011 222 687
   
       
    Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


    Description

    TECHNICAL FIELD



    [0001] Embodiments generally relate to image encryption, and more particularly, to preserving image privacy when the image is hosted or otherwise manipulated by cloud services such as photo-sharing websites.

    BACKGROUND



    [0002] Image processing and storage functions are rapidly being integrated into the cloud. Image uploading or photo-sharing is pervasive today, and ever expanding. Well-known sites such as Facebook® Twitter®, Google Picasa®, Photobucker®, Flickr®, and the like, store billions of photos. With the explosive growth in image storage, privacy concerns have started to surface, with users concerned about the abuse of their personal data and photos, potentially from the sites themselves or from other unknown users.

    [0003] Publicly available photos on service provider websites can be used to identify strangers in shopping malls, university campuses, or on public streets, for example, simply by performing facial recognition and matching the photos to names or other identifying information available on the websites of the service providers. There are increasingly more incidents of hackers comprising the databases of photo-sharing websites. The hacker or other bad actor may manipulate the content of the original image for nefarious reasons. Still other users can download or otherwise hack the photos, save them to external media, or upload them to other websites, with the original owner losing any measure of effective access control, thereby allowing anyone who comes into contact with the copies to have access to the original content.

    [0004] FIG. 1 illustrates a conventional system in which hackers or others can gain access to photos. User application 105, which may be operated by a person 110, and can include a computer 115, a smart phone 120, a personal digital assistant (PDA) 125, or a camera 130, and so forth, may upload images 135 to cloud service 140. The user application 105 or other authorized person may later browse for the images at 165. However, a hacker 150, which may include a person 155 or a computer 160, or other unauthorized persons, and so forth, may gain access to the images 135 by accessing the cloud service 140 at 145.

    [0005] Sometimes users scan sensitive documents into photos and stored them in photo-sharing sites, not understanding the ramifications of easy access by others. In other cases, users might want to only share certain photos with close family members or friends, or otherwise do not want the service provider to have access to the photo content. Conventional encryption technologies are ineffective because photo-sharing websites usually perform post-processing on the uploaded images, such as resizing, filtering, cropping, and so forth. Such post-processing operations change the values of the encrypted contents, and the subsequent decrypted contents will be completely garbled rather than revert to the original image content.

    [0006] Another compounding factor is that the image compression algorithms commonly used today, such as Joint Photographic Experts Group (JPEG) images, have lossy compression algorithms including floating-point arithmetic errors and quantization loss, which are incompatible with standard encryption algorithms. Conventional xor approaches to encryption and keystreams break when the file contents are modified externally. Although full homomorphic encryption is more resilient to such operations, it is impractical today because encrypting just one bit can require megabytes of keys and hours of computation time for encryption and decryption of the photos.

    [0007] It would be desirable to effectively and correctly decrypt an encrypted image stored and then retrieved from a photo-sharing website or other similar cloud service, particularly after postprocessing operations are performed by the cloud service.

    [0008] EP 1 906 332 A2 relates to a secure device having key management function and information processing apparatus. A secure device has an input unit for dividing content into a plurality of blocks and inputting the plurality of blocks, a key generating unit for sequentially generating keys for encrypting one or plural blocks, a content encrypting unit for encrypting the one or plural blocks by using the generated key, a key information generating unit for generating key information for restoring the generated key used for the encrypting by the generated key, and a storage control unit for outputting contents of each of the blocks encrypted by the content encrypting unit and the key information generated by the key information generating unit to an external storage. The key sequentially generated by the key generating unit is newly generated when a predetermined condition is satisfied, and varies by every one or plural blocks.

    [0009] US 2004/0141613 A2 relates to encrypting a portion of a tile image to be subject to wavelet transformation at or above a desired resolution level without the need to manage multiple encryption keys, using a tree structure in which tile parts having higher frequency encrypted data are positioned at higher level nodes.

    [0010] EP 1 187 483 A2 relates to an encryption apparatus and method for synchronizing multiple encryption keys with a data stream. A data stream, such as a digital motion picture, is encrypted in units of one or more blocks, each block having an assigned encryption key. A plurality of encryption keys is assigned to the complete data stream, with a synchronization index provided to map each individual encryption key to its starting data block.

    BRIEF DESCRIPTION OF THE DRAWINGS



    [0011] Embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the drawings and in which like reference numerals refer to similar elements.

    FIG. 2 illustrates a system including middleware for preserving the image privacy irrespective of image manipulations by the cloud service, according to an example embodiment of the present invention.

    FIG. 3 illustrates a flow diagram of aspects associated with the middleware of FIG. 2.

    FIG. 4 illustrates a flow diagram of additional aspects associated with the middleware of FIG. 2.

    FIGs. 5 and 6 illustrate block diagrams including a database associated with the middleware of FIG. 2.

    FIG. 7 illustrates a flow diagram demonstrating a technique for encrypting and uploading images to a cloud service,

    FIG. 8 illustrates a flow diagram demonstrating a technique for receiving and decrypting images from a cloud service.

    FIG. 9 illustrates a flow and block diagram related to permutating and encrypting blocks of an image, according to another example embodiment of the present invention.

    FIG. 10 illustrates a flow and block diagram related to decrypting the images of FIG. 9.

    FIG. 11 illustrates a block diagram of a physical object having affixed thereto an encrypted printed image, according to yet another example embodiment of the present invention.


    DETAILED DESCRIPTION



    [0012] Reference will now be made in detail to embodiments of the invention, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth to enable a thorough understanding of the present invention. It should be understood, however, that persons having ordinary skill in the art may practice the present invention without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.

    [0013] It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first image could be termed a second image, and, similarly, a second image could be termed a first image, without departing from the scope of the present invention.

    [0014] The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

    [0015] Embodiments of an apparatus and method for preserving image privacy when hosted or otherwise manipulated by cloud services, associated processes for using such apparatus, and associated systems with which such apparatus and method can be used, are described.

    [0016] FIG. 2 illustrates a system 200 including middleware 205 for preserving image privacy irrespective of image manipulations by the cloud services 140, according to an example embodiment of the present invention. The user application 105 may be operated by a person 110, and can include a computer 115, a smart phone 120, a personal digital assistant (PDA) 125, or a camera 130, and so forth, which may upload encrypted images 235 to cloud service 140. The user application 105 can include or otherwise be associated with middleware 205. The middleware 205 and its components can be implemented in hardware, software, firmware, or any combination thereof.

    [0017] The middleware 205 encrypts images using methods that are resilient to manipulations by the cloud services 140. The cloud services 140 can include, for example, social networks or photo storage sites, which typically resize, filter, crop, or otherwise reformat images, thereby causing conventional encryption techniques to be rendered inoperable. Embodiments of the present invention allows users to preserve the privacy of selected photos, upload those photos to any photo-sharing websites or other cloud services, and correctly decrypt the photos back to the original images regardless of the typical backend processing by the photo-sharing sites. Thus, there is no need to change the existing websites or cloud computing models. Moreover, encryption and decryption using embodiments disclosed herein are practical today and can be efficiently accomplished in less than a second for each photo.

    [0018] As shown in FIG. 2, the middleware 205 transmits encrypted images 235 to the cloud services, so that if a hacker 150, which may include person 155 or computer 160, attempts to access the images, all that they would gain access to is the ciphertexts 245, and therefore would be unable to view the images. Authorized users, on the other hand, who have the appropriate middleware 205 and appropriate key, can browse the images at 265 and correctly decrypt the images 240 for later viewing, irrespective of the filtering, resizing, cropping, or other manipulations to the images by the cloud services 140.

    [0019] The middleware 205 can receive an original image from the user 105. The middleware 205 includes a splitter 220, which can split the image into first and second sub-images, as described in further detail below. The middleware 205 includes an encrypt section 210, which can encrypt the first and second sub-images, and produce first and second encrypted sub-images as also described in further detail below.

    [0020] A random number generator (RNG) 215 is used to generate certain encryption keys, such as a master key to be stored in database 225, and an image key to be stored in meta data of the image. After transmission of the first and second encrypted sub-images to the cloud services 140, and manipulation by the cloud services 140, the images can be received and decrypted by the middleware 205, which may be associated with the same user application 105 or another authorized user application. The middleware 205 includes a decrypt section 230 to decrypt the first and second sub-images, and a combiner 222 to combine the first and second sub-images into substantially the original image,

    [0021] FIG. 3 illustrates a flow diagram of aspects associated with the splitter 220 and the encrypt section 210 of FIG. 2. An original image 305 includes pixels 302. It will be understood that the image 305 can have any suitable number of pixels, and the enlarged pixels shown in the figures are merely for the purpose of illustration. Each pixel 302 includes an associated Red/Green/Blue (RGB) pixel value such as RGB pixel_value_A(u,v), where u is the row index and v is the column index for each pixel. Generally, RGB pixel values are 8 bits, which can represent between 0 and 255 different values or hues. It will be understood that the embodiments and inventive concepts described herein are applicable to 16 bit RGB pixel values, or any other suitable value. The splitter 220 can split the original image 305 into sub-image 310 and sub-image 315.

    [0022] Each of the RGB pixel values of the sub-image 310, such as RGB pixel_value_B(u,v), will have a range between 0 and 127 different values or hues. Similarly, each of the RGB pixels values of the sub-image 315, such as RGB pixel_value_C(u,v), will have a range between 0 and 127 different values or hues. Such characteristics allow for a keystream to be added to the RGB pixel values of the sub-images without causing a mathematical carry, which would otherwise lead to negative or invalid results.

    [0023] For each of the RGB pixel values of the sub-image 310, the encrypt section 210 adds a corresponding keystream value, such as keystream(u,v), which can be a 7 bit random number 320 generated for each RGB pixel value. For example, the following equation (1) as shown at 325 can be used:



    [0024] Similarly, for each of the RGB pixel values of the sub-image 315, the encrypt section 210 adds a corresponding keystream value, such as keystream(u,v), which can be the 7 bit random number 320 generated for each RGB pixel value. For example, the following equation (2) as shown at 330 can be used:



    [0025] The distinguishes "0" and "1" in the keystream() of equations (1) and (2), respectively, denote that the crypto keys are not repeated for different sub images, which increases the security guarantee. In other words, the pixel_cipher_B uses a different keystream from the pixel_cipher_C. The splitter 220 can first determine an RGB pixel value for each pixel of the original image, then divide each RGB pixel value of the original image into a first split RGB pixel value (e.g., RGB pixel_value_B(u,v)) and a second split RGB pixel value (e.g., RGB pixel_value_C(u,v)). Each split RGB pixel_value_B(u,v) can be associated with a corresponding RGB pixel value of the sub-image 310. Similarly, each split RGB pixel_value_C(u,v) can be associated with a corresponding RGB pixel value of the sub-image 315. The corresponding keystream(u,v) can then be added.

    [0026] It will be understood that such operations can be performed on the coefficients and/or pixels associated with the image or any intermediate compression steps of the image. For instance, JPEG photos undergo several intermediate steps during compression, and splitting and encrypting aspects described herein can be performed on such a JPEG photo in connection with any intermediate or final steps associated with the JPEG compression, thereby reducing computation errors. The encrypt section 210 can therefore produce a first encrypted sub-image and a second encrypted sub-image, which together can be represented as G(data + keystream) as shown at 335.

    [0027] The middleware 205 can transmit the G(data + keystream), including the first and second encrypted sub-images, to cloud services 140. The cloud services 140 can perform various post-processing functions, represented here as f(.), such as resize, crop, and filter.

    [0028] FIG. 4 illustrates a flow diagram of additional aspects associated with the decrypt section 230 and combiner 222 of FIG. 2. The decrypt section 230 of the middleware 205 cart receive the f(G(data + keystream)) at 405 from the cloud services 140. The decrypt section 230 can then decrypt the f(G(data + keystream)) to recover the original image. For each RGB pixel value of the first encrypted sub-image 310, the decrypt section 230 subtracts a corresponding reconstructed keystream value (e.g. f(G(keystream))). Similarly, for each RGB pixel value of the second encrypted sub-image 315, the decrypt section 230 substracts a corresponding reconstructed keystream value (e.g., f(G(keystream))) selected from the plurality of modified keystream values. For example, the following equation (3) as shown at 410 can be used:



    [0029] The G(keystream) can be modified by a predefined post-processing function f(.), which can be stored in database 225 and associated with a cloud service identifier (ID) 440. The database 225 can store multiple different post-processing functions associated with any number of different cloud services, each with its own ID. For example, if a photo-storage site is known to resize an image by a certain proportion, such function is stored in database 225 and identified by the associated site ID. Moreover, such post-processing functions can be determined based on experimental usage and analysis of the post-processing functions performed on images when subjected to the cloud service sites. The ID 440 can also be stored in the meta data of the image, as further described below.

    [0030] The decrypt section 230 uses the master_key stored in the database 225 to generate the proper keystream, which together with the applied post-processing function f(.), results in f(G(keystream)). The f(G(keystream)) is used to decrypt the image data, as further shown at 410, 415, and 420. Further details regarding the master_key are provided below.

    [0031] Almost all image processing algorithms have additive and homogeneity properties, Additivity is where f(x + y) is equivalent to f(x) + f(y). Homogeneity is where f(a*x) is equivalent to a*f(x), where a is the value of scalar. Because of these properties, as shown at 415, equation (3) can be re-written as equation (4) as follows:



    [0032] Equation (4) can be reduced, as shown at 420, to equation (5), as follows:



    [0033] The recovered image (i.e., recover_image) corresponds to decrypted sub-images 310 and 315. The decrypted sub-images can be combined by the combiner 222 into substantially the original image 305.

    [0034] FIGs, 5 and 6 illustrate block diagrams including a database 225 associated with the middleware 205 of FIG. 2. The encrypt section 210 can produce a master_key 505, which is stored in the database 225. More specifically, the RNG 215 can produce the master_key 505, which is preferably a 256-bit cryptographically strong random number. In addition, for each image, the RNG 215 can produce a random number (i.e., Rnumber 510), which is used to generate an image_key. The Rnumber 510 can be embedded in the metadata 525 of the image 520, and is preferably a 128-bit random number. The metadata 525 can also store the ID 440, which is described above.

    [0035] The keystream can be generated, by either or both of the encrypt section 210 and the decrypt section 230, using at least the master_key 505, as shown in both FIGs. 5 and 6. For example, as shown at 535 and 635, the following function (6) can be used to generate the keystream:



    [0036] As set forth in (6), the Encrypt(.) function can be Advanced Encryption Standard (AES) cipher or any other suitable encryption algorithm. The pixel_index corresponds to the (u,v) pixel index location of the image. The image_key is used to guarantee that each instance of an image will have distinct keystream based upon the image_key that is derived in (7), as further set forth below. In other words, the keystream values discussed above are generated using the image_key and the pixel_index.

    [0037] The image_key can be generated, by either or both of the encrypt section 210 and the decrypt section 230, using at least the Rnumber 510, as shown at 530 of FIG. 5 and at 630 of FIG. 6, according to the following function (7):



    [0038] As set forth in (7), the kdf(.) function can be a standard key derivation function, either cipher or hash-based. The Aux can correspond to auxiliary data, such as for security purposes.

    [0039] The encrypt section 210 of the middleware 205 can encrypt the image using (6) and/or (7). Likewise, the decrypt section 230 of the middleware 205 can decrypt the image using (6) and/or (7). As the middleware 205 is the only entity capable of producing the keystream, only the middleware 205 having the master_key 505 can decrypt the images.

    [0040] FIG. 7 illustrates a flow diagram 700 of a technique for encrypting and uploading images to a cloud service(s), The technique begins at 705, where the middleware receives an image from a user or user application. At 710, the image is decompressed to recover RGB pixel values. At 715, the image is split into two sub-images. The number of bits associated with each RGB pixel value of sub-image 725 and sub-image 720 is less than the number of bits associated with each RGB pixel value of the original image. At 730, the middleware generates a keystream, which is added to the sub-images at 740 and 735, as explained in detail above. Image compression can be performed after or during the adding of the keystream. The encrypted sub-images at 750 and 745 are uploaded by the middleware to the cloud service(s) at 755.

    [0041] FIG. 8 illustrates a flow diagram 800 of a technique for receiving and decrypting images from a cloud service. At 805, the cloud service(s) perform post-processing operations on the encrypted sub-images. At 810, the middleware receives the encrypted sub-images from the cloud service(s). At 820 and 815, the encrypted sub-images are made ready for decryption by the decrypt section of the middleware. At 830 and 825, the sub-images are decompressed using image decompression algorithms such as JPEG. At 835, the middleware generates the modified keystream, as explained in detail above, and the modified keystream is subtracted from the sub-images at 845 and 840, either during or after the decompression. The flow proceeds to decrypted sub-images at 855 and 850, which are recombined or otherwise reconstructed into the original image at 860.

    [0042] FIG. 9 illustrates a flow and block diagram 900 related to permutating and encrypting blocks (e.g., (1), (2), ..., (16)) of an image 905, according to another example embodiment of the present invention. FIG. 10 illustrates a flow and block diagram related to decrypting the image 905 of FIG. 9. Reference is now made to FIGs. 9 and 10.

    [0043] Blocks of the image 905 can be defined to have a particular size, or otherwise divided into N blocks, each block including some number of pixels. For example, an image with 2048 by 1024 pixels can have the block size defined as 64 by 64 pixels. In such case, the total number of blocks will be 512. The encrypt section 210 can select a permutation from a factorial of N permutations. In other words, the encrypt section 210 can permutate the blocks in 512! (factorial of 512) number of different ways, which is even larger than 2512. Put differently, the encrypt section 210 can then permutate the N blocks of the image based on the selected permutation.

    [0044] Based on the secret key 925, which can be stored in or otherwise associated with the file header 915 of the image 905, the middleware 205 can choose only one out of all possible 512! (factorial of 512) possibilities, which is practically infeasible for any third party, without the secret key 925, to guess correctly. This is quite different from, for example, a jigsaw puzzle where there is only one final pattern and pieces include various shapes to help with the orientation. The permutation causes the file content 910 of image 905 to be scrambled into the file content 920 of the permutated image 930. There is no clue that is available to human users on how to reconstruct the orientations. The middleware 205 can then upload the permutated image 930 to the cloud service(s) 140, which can perform post-processing functions (e.g., f(.)) on the permutated image,

    [0045] As shown in FIG. 10, the permutated image is then received from the cloud service(s) 140 and decrypted using the decrypt section 230. For example, the decrypt section 230 can use the secret key 925 to decrypt the permutation and return the file contents 920 of the permutated image 930 back to substantially the file contents 910 of the original image 905.

    [0046] More specifically, the secure permutation can be performed by generating a keystream and by using the secret key 925 and a stream cipher F(.). The encrypt section 210 can receive an image having a size (e.g., height x width). A predefined block size M can be used. The encrypt section 210 can also receive and/or generate the secret key 825, the stream cipher F(.), and a key derivation function (e.g., kdf(.)). The encrypt section 210 can output instance_randomH and a permutated image.

    [0047] The following are example elements of this approach:
    1. 1. Generate an index for the blocks; e.g., a[0] = 0, a[1] = 1, ..., a[N] = N.
    2. 2. For every instantiation of middleware to encrypt a photo by permutation, generate a random number H (e.g., 128-bit), referred to herein as instance_randomH.
    3. 3. instance_key = kdf(K, H), where K is the secret key 925. Each instance_key can be a distinct key to augment the security.
    4. 4. keystream = F(instance_key, counter), where counter can increase from 0.
    5. 5. keystream is a bit stream (e.g., 1000111111110). Number u can be selected, where 2u is the least integer that is greater than N. Every 2u bits of keystream can be a partition or unit. For example: u=3→keystream[0]=100, keystream[1]=011, and so forth.
    6. 6. for j from N down to 2
      1. a. dj = keystream[j] modulo N. (e.g., swap position is determined by stream cipher)
      2. b. swap a[dj] and a[j-1]
    7. 7. endfor
    8. 8. Permute the blocks of the image according to a[j], for j from 0 to N


    [0048] According to above algorithm, the encrypt section 210 can permute the blocks of the image. The decrypt section 230 can gain access to the secret key K (e.g., 925) and the private hint H (i.e., instance_randomH) to generate the permutation sequence. The permutation can then be reversed and the original image reconstructed. The stream cipher F(.) and the derivation function kdf(.) can be public, and H is a random number used as the instance identifier.

    [0049] Put differently, methods disclosed herein include selecting a permutation from a factorial of N permuations. A keystream can be generated. The N blocks can be permutated based on the keystream and the selected permutation. Each of the N blocks can be swapped with another of the N blocks based on the keystream. N swap positions can be determined. For example, the swap position can be based on keystream[j] modulo N, where j is an index into the keystream. The index j can be decremented from N down to 2. Each of the N blocks can be swapped with another of the N blocks located at the swap position.

    [0050] FIG. 11 illustrates a block diagram 1100 of a physical object 1105 having affixed thereto an encrypted printed image 1110, according to yet another example embodiment of the present invention.

    [0051] The middleware 205 can encrypt an image using one or more of the techniques described in detail above. The image can then be physically transformed, as shown at 1120. The physical transformations can include resizing, scaling, compressing, cropping, and so forth, and can be performed on the encrypted image electronically and/or on physical printed media. The image can be printed on physical media, thereby resulting in a printed image 1110. The printed image 1110 is scrambled or otherwise undecipherable without the appropriate decryption algorithm and keys. Hackers or other adversaries are therefore prevented from interpreting the printed image 1110. Unlike a barcode, which can be easily intercepted and interpreted by hackers or other third parties, the encrypted image allows information to be securely transmitted in the physical non-electronic world. The printed image can be affixed to a physical object 1105. The physical object can be, for example, a package, a sign, paper, a display, a magazine, a newspaper, and the like. The physical object can also be a screen or a display, such as a move screen, a TV screen, a computer display, a phone display, or the like.

    [0052] The printed image 1110 can be photographed or scanned using, for example, a camera and/or scanner 1115. In other words, a digital image can be captured of the printed image 1110. The middleware 205 can decrypt the digital image, using one or more of the techniques described in detail above. The decryption algorithm can reconstruct the original image, or at least an approximate of the original image, because the middleware 205 has access to the master key and the other components and algorithms for decrypting the photographed or scanned image, notwithstanding the physical transformations 1120 of the encrypted image.

    [0053] In this manner, images can be covertly transmitted, using a form of visual cryptography, which can be used for advertising, subscription services, audience selection, games, secure social networking, among other possibilities. For example, images can be privately or covertly transmitted from middleware, to a physical object, then to an endpoint such as the same or different middleware. Thus, the image can remain confidential or private, even when exposed to external physical world scenarios.

    [0054] Although particular embodiments have been described, it will be appreciated that the principles of the invention are not limited to those embodiments. Embodiments include middleware for uploading encrypted image data to websites (e.g., social media and/or cloud services) using the lossy data formats already accepted by the backend services using a new loss-resilient encryption algorithm. The resilient encrypted image cipher text can be manipulated by the back end cloud services (e.g., compressed, cropped, transformed, filtered, etc.), yet the approximate original image can still be restored given the ciphertext and a secret decryption key used by authorized parties.

    [0055] The encrypted image can be downloaded, copied, moved, manipulated and uploaded to other websites while remaining secure (i.e., encrypted) so only parties with the correct key can decrypt the image and restore the approximate original using one or more of the resilient encryption algorithms disclosed herein. Specialized hardware or hardware accelerators can be used to accelerate the resilient cryptographic algorithms. The middleware can be included within general purpose computers, tablets, smart phones, ultrabooks, servers, or the like. Embodiments disclosed herein enhance image and media privacy, allowing manipulation of ciphertext, while providing the ability to recover the original plaintext content.

    [0056] In some embodiments, an article drawn from the set of media including floppy disks, optical disks, fixed disks, volatile memory, non-volatile memory, random access memory, read-only memory, or flash memory, comprising a machine-accessible medium having associated non-transitory instructions that, when executed in a test and measurement device, results in a machine performing the steps of the various embodiments of the invention as disclosed herein. Other variations and modifications may be made without departing from the principles of the invention as set forth in the following claims.


    Claims

    1. A method operating on a processor for preserving image privacy, comprising:

    receiving an original image (305);

    splitting the original image into first and second sub-images (310, 315), each of the first and second sub-images having a same number of pixels as the original image;

    for each of a plurality of pixel values of the first sub-image (310), adding a first corresponding keystream value selected from a plurality of keystream values;

    producing a first encrypted sub-image;

    for each of a plurality of pixel values of the second sub-image (315), adding a second corresponding keystream value selected from the plurality of keystream values, the second corresponding keystream value different than the first corresponding keystream value; and

    producing a second encrypted sub-image.


     
    2. The method of claim 1, wherein the pixel values are Red/Green/Blue (RGB) pixel values, and wherein splitting further comprises:

    determining an RGB pixel value for each of a plurality of pixels of the original image (305);

    dividing each RGB pixel value of the original image into a first split RGB pixel value and a second split RGB pixel value;

    associating each of the first split RGB pixel values with a corresponding RGB pixel value of the first sub-image (310); and

    associating each of the second split RGB pixel values with a corresponding RGB pixel value of the second sub-image (315).


     
    3. The method of claim 1, further comprising:
    transmitting the first and second encrypted sub-images to a cloud service (140).
     
    4. The method of claim 1, wherein the pixel values are RGB pixel values, the method further comprising:

    receiving the first and second encrypted sub-images from the cloud service;

    for each RGB pixel value of the first sub-image (310), subtracting a corresponding modified keystream value selected from a plurality of modified keystream values;

    producing a first decrypted sub-image;

    for each RGB pixel value of the second sub-image (315), subtracting a corresponding modified keystream value selected from the plurality of modified keystream values; and

    producing a second decrypted sub-image.


     
    5. The method of claim 4, further comprising:
    combining the first and second decrypted sub-images into substantially the original image.
     
    6. The method of claim 4, further comprising:

    producing a master key (505);

    storing the master key in a database (225);

    generating the plurality of keystream values using at least the master key;

    modifying the plurality of keystream values according to a predefined post-processing function, thereby producing the plurality of modified keystream values.


     
    7. The method of claim 6, further comprising:

    producing a random number using a random number generator (215);

    storing the random number in metadata of at least one of the first and second sub-images; and

    generating an image key using at least the random number.


     
    8. The method of claim 6, further comprising:

    associating the predefined post-processing function to an identifier of a cloud service;

    storing the identifier in metadata of at least one of the first and second sub-images; and

    identifying the predefined post-processing function using the identifier.


     
    9. One or more tangible computer-readable media storing non-transitory computer-executable instructions that, when executed by a processor, operate to perform the method according to claim 1.
     
    10. An middleware apparatus, comprising:

    a splitter (220) configured to split an original image into first and second sub-images (310, 315), each of the first and second sub-images having a same number of pixels as the original image;

    an encrypt section (210) configured to:

    add each of a plurality of pixel values of the first sub-image (310) to a first corresponding keystream value selected from a plurality of keystream values;

    produce a first encrypted sub-image;

    add each of a plurality of pixel values of the second sub-image (315) to a second corresponding keystream value selected from the plurality of keystream values, the second corresponding keystream value different than the first corresponding keystream value; and

    produce a second encrypted sub-image.


     
    11. The middleware apparatus of claim 10, wherein the pixel values are Red/Green/Blue (RGB) pixel values, and wherein the splitter (220) is further configured to:

    determine an RGB pixel value for each of a plurality of pixels of the original image (305);

    divide each RGB pixel value of the original image into a first split RGB pixel value and a second split RGB pixel value;

    associate each of the first split RGB pixel values with a corresponding RGB pixel value of the first sub-image (310); and

    associate each of the second split RGB pixel values with a corresponding RGB pixel value of the second sub-image (315).


     
    12. The middleware apparatus of claim 10, wherein the middleware is configured to transmit the first and second encrypted sub-images to a cloud service (140).
     
    13. The middleware apparatus of claim 10, wherein the pixel values are RGB pixel values, the apparatus further comprising:

    a decrypt section (230) configured to:

    subtract a modified keystream value, selected from a plurality of modified keystream values, from each RGB pixel value of the first sub-image;

    produce a first decrypted sub-image (310);

    subtract a modified keystream value, selected from the plurality of modified keystream values, from each RGB pixel value of the second sub-image; and

    produce a second decrypted sub-image (315); and

    a combiner configured to combing the first and second decrypted sub-images into substantially the original image (305).


     
    14. The middleware apparatus of claim 10, further comprising:

    a random number generator (215) configured to produce a master key; and

    a database (225) configured to store the master key,

    wherein the encrypt section (210) is configured to generate the plurality of keystream values based on at least the master key.


     
    15. The middleware apparatus of claim 10, further comprising:

    a random number generator (215) configured to produce a random number storable in metadata of at least one of the first and second sub-images (310, 315); and

    an image key based on at least the random number.


     


    Ansprüche

    1. Verfahren, das auf einem Prozessor zum Schutz der Privatsphäre von Bildern abläuft, umfassend:

    Empfangen eines Originalbildes (305);

    Aufteilen des Originalbildes in erste und zweite Teilbilder (310, 315), wobei jedes der ersten und zweiten Teilbilder eine gleiche Anzahl von Pixeln wie das Originalbild aufweist;

    für jeden von mehreren Pixelwerten des ersten Teilbildes (310), Hinzufügen eines ersten entsprechenden Schlüsselstromwertes, ausgewählt aus mehreren Schlüsselstromwerten; Erzeugen eines ersten verschlüsselten Teilbildes;

    für jeden von mehreren Pixelwerten des zweiten Teilbildes (315), Hinzufügen eines zweiten entsprechenden Schlüsselstromwertes, ausgewählt aus den mehreren Schlüsselstromwerten, wobei sich der zweite entsprechende Schlüsselstromwert von dem ersten entsprechenden Schlüsselstromwert unterscheidet; und Erzeugen eines zweiten verschlüsselten Teilbildes.


     
    2. Verfahren nach Anspruch 1, wobei die Pixelwerte Rot/Grün/Blau (RGB) Pixelwerte sind und wobei das Aufteilen ferner umfasst:

    Bestimmen eines RGB-Pixelwerts für jeden der mehreren Pixel des Originalbildes (305);

    Unterteilen jedes RGB-Pixelwertes des Originalbildes in einen ersten aufgeteilten RGB-Pixelwert und einen zweiten aufgeteilten RGB-Pixelwert;

    Zuordnen jedes der ersten aufgeteilten RGB-Pixelwerte zu einem entsprechenden RGB-Pixelwert des ersten Teilbildes (310); und

    Zuordnen jedes der zweiten aufgeteilten RGB-Pixelwerte zu einem entsprechenden RGB-Pixelwert des zweiten Teilbildes (315).


     
    3. Verfahren nach Anspruch 1, ferner umfassend: Übertragen der ersten und zweiten verschlüsselten Teilbilder an einen Cloud-Service (140).
     
    4. Verfahren nach Anspruch 1, wobei die Pixelwerte RGB-Pixelwerte sind, wobei das Verfahren ferner umfasst:

    Empfangen des ersten und zweiten verschlüsselten Teilbildes vom Cloud-Service;

    für jeden RGB-Pixelwert des ersten Teilbildes (310), Subtrahieren eines entsprechenden modifizierten Schlüsselstromwertes, ausgewählt aus mehreren modifizierten Schlüsselstromwerten; Erzeugen eines ersten entschlüsselten Teilbildes;

    für jeden RGB-Pixelwert des zweiten Teilbildes (315), Subtrahieren eines entsprechenden modifizierten Schlüsselstromwertes, ausgewählt aus den mehreren modifizierten Schlüsselstromwerten; und Erzeugen eines zweiten entschlüsselten Teilbildes.


     
    5. Verfahren nach Anspruch 4, ferner umfassend: Kombinieren der ersten und zweiten entschlüsselten Teilbilder zu im Wesentlichen dem Originalbild.
     
    6. Verfahren nach Anspruch 4, ferner umfassend:

    Erzeugen eines Masterschlüssels (505);

    Speichern des Masterschlüssels in einer Datenbank (225) ;

    Erstellen der mehreren Schlüsselstromwerte unter Verwendung mindestens des Masterschlüssels;

    Modifizieren der mehreren Schlüsselstromwerten gemäß einer vordefinierten Nachbearbeitungsfunktion, wodurch die mehreren modifizierten Schlüsselstromwerte erzeugt werden.


     
    7. Verfahren nach Anspruch 6, ferner umfassend:

    Erzeugen einer Zufallszahl unter Verwendung eines Zufallszahlengenerators (215);

    Speichern der Zufallszahl in Metadaten von dem ersten und/oder zweiten Teilbild; und

    Erstellen eines Bildschlüssels unter Verwendung mindestens der Zufallszahl.


     
    8. Verfahren nach Anspruch 6, ferner umfassend:

    Zuordnen der vordefinierten Nachbearbeitungsfunktion zu einem Identifikator eines Cloud-Dienstes; Speichern des Identifikators in Metadaten des ersten und/oder zweiten Teilbildes;

    und

    Identifizieren der vordefinierten Nachbearbeitungsfunktion anhand des Identifikators.


     
    9. Ein oder mehrere konkrete computerlesbare Medien, die nicht-flüchtige computerausführbare Anweisungen speichern, die, wenn sie von einem Prozessor ausgeführt werden, zum Durchführen des Verfahrens nach Anspruch 1 dienen.
     
    10. Middlewarevorrichtung, umfassend:

    einen Splitter (220), der zum Aufteilen eines Originalbildes in erste und zweite Teilbilder (310, 315) ausgelegt ist, wobei jedes der ersten und zweiten Teilbilder eine gleiche Anzahl von Pixeln wie das Originalbild aufweist;

    einen Verschlüsselungsabschnitt (210), ausgelegt zum: Hinzufügen eines jeden der mehreren Pixelwerte des ersten Teilbildes (310) zu einem ersten entsprechenden Schlüsselstromwert, ausgewählt aus mehreren Schlüsselstromwerten; Erzeugen eines ersten verschlüsselten Teilbildes;

    Hinzufügen eines jeden der mehreren Pixelwerte des zweiten Teilbildes (315) zu einem zweiten entsprechenden Schlüsselstromwert, ausgewählt aus mehreren Schlüsselstromwerten, wobei sich der zweite entsprechende Schlüsselstromwert von dem ersten entsprechenden Schlüsselstromwert unterscheidet; und Erzeugen eines zweiten verschlüsselten Teilbildes.


     
    11. Middlewarevorrichtung nach Anspruch 10, wobei die Pixelwerte Rot/Grün/Blau (RGB) Pixelwerte sind, und wobei der Splitter (220) ferner zum Bestimmen eines RGB-Pixelwertes für jedes der mehreren Pixel des Originalbildes (305) ausgelegt ist;
    Unterteilen jedes RGB-Pixelwertes des Originalbildes in einen ersten aufgeteilten RGB-Pixelwert und einen zweiten aufgeteilten RGB-Pixelwert;
    Zuordnen jedes der ersten aufgeteilten RGB-Pixelwerte zu einem entsprechenden RGB-Pixelwert des ersten Teilbildes (310); und
    Zuordnen jedes der zweiten aufgeteilten RGB-Pixelwerte zu einem entsprechenden RGB-Pixelwert des zweiten Teilbildes (315).
     
    12. Middlewarevorrichtung nach Anspruch 10, wobei die Middleware zum Übertragen des ersten und zweiten verschlüsselten Teilbildes an einen Cloud-Service (140) ausgelegt ist.
     
    13. Die Middleware-Vorrichtung nach Anspruch 10, wobei die Pixelwerte RGB-Pixelwerte sind, wobei die Vorrichtung ferner umfasst:
    einen Entschlüsselungsabschnitt (230), der ausgelegt ist zum::

    Subtrahieren eines modifizierten Schlüsselstromwertes, ausgewählt aus mehreren modifizierten Schlüsselstromwerten, von jedem RGB-Pixelwert des ersten Teilbildes;

    Erzeugen eines ersten entschlüsselten Teilbildes (310);

    Subtrahieren eines modifizierten Schlüsselstromwertes, ausgewählt aus mehreren modifizierten Schlüsselstromwerten, von jedem RGB-Pixelwert des zweiten Teilbildes; und Erzeugen eines zweiten entschlüsselten Teilbildes (315); und

    einen Kombinierer, der zum Kombinieren der ersten und zweiten entschlüsselten Teilbilder in im Wesentlichen das Originalbild (305) ausgelegt ist.


     
    14. Middlewarevorrichtung nach Anspruch 10, ferner umfassend:

    einen Zufallszahlengenerator (215), der zum Erzeugen eines Masterschlüssels ausgelegt ist; und eine Datenbank (225), die zum Speichern des Masterschlüssels ausgelegt ist,

    wobei der Verschlüsselungsabschnitt (210) zum Erstellen der mehreren Schlüsselstromwerte basierend auf mindestens dem Masterschlüssel ausgelegt ist.


     
    15. Middlewarevorrichtung nach Anspruch 10, ferner umfassend:

    einen Zufallszahlengenerator (215), der zum Erzeugen einer Zufallszahl ausgelegt ist, die in Metadaten eines ersten und/oder eines zweiten Teilbildes (310, 315) gespeichert werden kann; und

    einen Bildschlüssel, der mindestens auf der Zufallszahl basiert.


     


    Revendications

    1. Procédé fonctionnant sur un processeur pour préserver la confidentialité des images, comprenant :

    la réception d'une image d'origine (305) ;

    la subdivision de l'image d'origine en des première et seconde sous-images (310, 315), chacune des première et seconde sous-images ayant un même nombre de pixels que l'image d'origine ;

    pour chacune d'une pluralité de valeurs de pixels de la première sous-image (310), l'addition d'une première valeur de flux de clés correspondante sélectionnée parmi une pluralité de valeurs de flux de clés ;

    la création d'une première sous-image cryptée ;

    pour chacune d'une pluralité de valeurs de pixels de la seconde sous-image (315), l'addition d'une seconde valeur de flux de clés correspondante sélectionnée dans la pluralité de valeurs de flux de clés, la seconde valeur de flux de clés correspondante étant différente de la première valeur de flux de clés correspondante ; et

    la création d'une seconde sous-image cryptée.


     
    2. Procédé selon la revendication 1, dans lequel les valeurs de pixels sont des valeurs de pixels rouges/verts/bleus (RVB), et dans lequel la subdivision comprend en outre :

    la détermination d'une valeur de pixels RVB pour chacun d'une pluralité de pixels de l'image d'origine (305) ;

    la division de chaque valeur de pixels RVB de l'image d'origine en une première valeur de pixels RVB subdivisée et une seconde valeur de pixels RVB subdivisée ;

    l'association de chacune des premières valeurs de pixels RVB subdivisées à une valeur de pixelss RVB correspondante de la première sous-image (310) ; et

    l'association de chacune des secondes valeurs de pixels RVB subdivisées à une valeur de pixelss RVB correspondante de la seconde sous-image (315).


     
    3. Procédé selon la revendication 1, comprenant en outre :
    la transmission des première et seconde sous-images cryptées à un service en nuage (140).
     
    4. Procédé selon la revendication 1, dans lequel les valeurs de pixels sont des valeurs de pixels RVB, le procédé comprenant en outre :

    la réception des première et seconde sous-images cryptées du service en nuage ;

    pour chaque valeur de pixels RVB de la première sous-image (310), la soustraction d'une valeur de flux de clé modifiée correspondante sélectionnée dans une pluralité de valeurs de flux de clés modifiées ;

    la création d'une première sous-image décryptée ;

    pour chaque valeur de pixels RVB de la seconde sous-image (315), la soustraction d'une valeur de flux de clé modifiée correspondante sélectionnée dans la pluralité de valeurs de flux de clés modifiées ; et

    la création d'une seconde sous-image décryptée.


     
    5. Procédé selon la revendication 4, comprenant en outre :
    la combinaison des première et seconde sous-images décryptées sensiblement l'image d'origine.
     
    6. Procédé selon la revendication 4, comprenant en outre :

    la création d'une clé principale (505) ;

    le stockage de la clé principale dans une base de données (225) ;

    la génération de la pluralité de valeurs de flux de clés en utilisant au moins la clé principale ;

    la modification de la pluralité de valeurs de flux de clés selon une fonction de traitement successif prédéfinie, produisant ainsi la pluralité de valeurs de flux de clés modifiées.


     
    7. Procédé selon la revendication 6, comprenant en outre :

    la création d'un nombre aléatoire en utilisant un générateur de nombre aléatoire (215) ;

    le stockage du nombre aléatoire dans des métadonnées d'au moins l'une des première et seconde sous-images ; et

    la génération d'une clé d'image en utilisant au moins le nombre aléatoire.


     
    8. Procédé selon la revendication 6, comprenant en outre :

    l'association de la fonction de traitement successif prédéfinie à un identifiant d'un service en nuage ;

    le stockage de l'identifiant dans des métadonnées d'au moins l'une des première et seconde sous-images ; et

    l'identification de la fonction de traitement successif prédéfinie à l'aide de l'identifiant.


     
    9. Un ou plusieurs supports tangibles lisibles par ordinateur et stockant des instructions non transitoires exécutables par ordinateur qui, lorsqu'elles sont exécutées par un processeur, permettent de mettre en oeuvre le procédé selon la revendication 1.
     
    10. Appareil à logiciel intermédiaire, comprenant :

    un système de subdivision (220) configuré pour subdiviser l'image d'origine en des première et seconde sous-images (310, 315), chacune des première et seconde sous-images ayant un même nombre de pixels que l'image d'origine ;

    une section de cryptage (210) configurée pour :

    ajouter chacune d'une pluralité de valeurs de pixels de la première sous-image (310) à une première valeur de flux de clés correspondante sélectionnée parmi une pluralité de valeurs de flux de clés ;

    créer une première sous-image cryptée ;

    ajouter chacune d'une pluralité de valeurs de pixels de la seconde sous-image (315) à une seconde valeur de flux de clés correspondante sélectionnée dans la pluralité de valeurs de flux de clés, la seconde valeur de flux de clés correspondante étant différente de la première valeur de flux de clés correspondante ; et

    créer une seconde sous-image cryptée.


     
    11. Appareil à logiciel intermédiaire selon la revendication 10, dans lequel les valeurs de pixels sont des valeurs de pixels rouges/verts/bleus (RVB), et dans lequel le système de subdivision (220) est en outre configuré pour :

    déterminer une valeur de pixels RVB pour chacun d'une pluralité de pixels de l'image d'origine (305) ;

    diviser chaque valeur de pixels RVB de l'image d'origine en une première valeur de pixels RVB subdivisée et une seconde valeur de pixels RVB subdivisée ;

    associer chacune des premières valeurs de pixels RVB subdivisées à une valeur de pixelss RVB correspondante de la première sous-image (310) ; et

    associer chacune des secondes valeurs de pixels RVB subdivisées à une valeur de pixelss RVB correspondante de la seconde sous-image (315).


     
    12. Appareil à logiciel intermédiaire selon la revendication 10, dans lequel le logiciel intermédiaire est configuré pour transmettre les première et seconde sous-images cryptées à un service en nuage (140).
     
    13. Appareil à logiciel intermédiaire selon la revendication 10, dans lequel les valeurs de pixels sont des valeurs de pixels RVB, l'appareil comprenant en outre :
    une section de décryptage (230) configurée pour :

    soustraire une valeur de flux de clés modifiée, sélectionnée parmi une pluralité de valeurs de flux de clés modifiées, de chaque valeur de pixels RVB de la première sous-image ;

    créer une première sous-image décryptée (310) ;

    soustraire une valeur de flux de clés modifiée, sélectionnée parmi la pluralité de valeurs de flux de clés modifiées, de chaque valeur de pixels RVB de la seconde sous-image ; et

    créer une seconde sous-image décryptée (315) ; et

    un système de combinaison configuré pour combiner les première et seconde sous-images décryptées en sensiblement l'image d'origine (305).


     
    14. Appareil à logiciel intermédiaire selon la revendication 10, comprenant en outre :

    un générateur de nombre aléatoire (215) configuré pour créer une clé principale ; et

    une base de données (225) configurée pour stocker la clé principale,

    dans lequel la section de cryptage (210) est configurée pour générer la pluralité de valeurs de flux de clés sur la base d'au moins la clé principale.


     
    15. Appareil à logiciel intermédiaire selon la revendication 10, comprenant en outre :

    un générateur de nombre aléatoire (215) configuré pour créer un nombre aléatoire pouvant être stocké dans des métadonnées d'au moins l'une des première et seconde sous-images (310, 315) ; et

    une clé d'image basée sur au moins le nombre aléatoire.


     




    Drawing



































    Cited references

    REFERENCES CITED IN THE DESCRIPTION



    This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

    Patent documents cited in the description