CN105447395A - Picture encryption system and picture decryption system - Google Patents

Picture encryption system and picture decryption system Download PDF

Info

Publication number
CN105447395A
CN105447395A CN201510887860.6A CN201510887860A CN105447395A CN 105447395 A CN105447395 A CN 105447395A CN 201510887860 A CN201510887860 A CN 201510887860A CN 105447395 A CN105447395 A CN 105447395A
Authority
CN
China
Prior art keywords
unit
image
encryption
data
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510887860.6A
Other languages
Chinese (zh)
Inventor
杨海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510887860.6A priority Critical patent/CN105447395A/en
Publication of CN105447395A publication Critical patent/CN105447395A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Abstract

The present invention discloses a picture encryption system and a picture decryption system. The picture encryption system is applied in a photographing process of a camera, and comprises: an acquisition unit, used for acquiring original image data and prompt information; a blurring unit, connected to the acquisition unit and used for performing blurring processing on an original image to acquire a blurred image and synthesizing the prompt information with the blurred image to form combined data; an encryption unit, connected to the acquisition unit and used for generating an encryption key according to an answer corresponding to the prompt information and performing encoding processing on the encryption key and the original image to generate image encrypted data; and a synthesis unit, separately connected to the blurring unit and the encryption unit, and used for constructing a file header, wherein a data region of the file header points to the combined data and an idle field of the file header points to the image encrypted data, and synthesizing the file header, the combined data and the image encrypted data to generate an encrypted image.

Description

Photo encryption system and photo decryption system
Technical field
The present invention relates to image encryption technology, particularly relate to a kind of photo encryption system and photo decryption system.
Background technology
Resolution ratio of camera head on current smart mobile phone is more and more higher, and its photographic effect is generally approved by people.People mostly take pictures with mobile terminal travelling outdoors, in daily life.But, when mobile terminal lose or damage maintenance time, how to ensure that the photo of user is not leaked, more and more pay close attention to by user.
Current photo encryption technology mainly adopts the comparison film when taking pictures to be encrypted, and third party user, when not having password, cannot check the content of photo, thus protect individual privacy.When the mobile terminal owner copies the photos in computer, need special software be used, just can open after input password.But the shortcoming of the method is: the password of all photos is all controlled by special software, As time goes on, user may forget Password, if do not have cryptographic consumer not open photo, photo will cancel.
Summary of the invention
For the problems referred to above that existing photo encryption and decryption technology exists, one is now provided to be intended to realize after comparison film encryption, original image blurred picture after treatment still can be watched, the photo encryption system making photo be unlikely to cancel completely and photo decryption system when user forgets clear crytpographic key.
Concrete technical scheme is as follows:
A kind of photo encryption system, what be applied to camera takes pictures in process, comprising:
One acquiring unit, in order to obtain raw image data and information;
One blur unit, connects described acquiring unit, in order to carry out Fuzzy Processing to described original image to obtain blurred picture, and synthesizes, described information and described blurred picture to form data splitting;
One ciphering unit, connects described acquiring unit, generates encryption key, described encryption key and described original image are carried out coded treatment synthetic image enciphered data in order to the answer corresponding according to described information;
One synthesis unit, connect described blur unit and described ciphering unit respectively, in order to build file header, described data splitting is pointed in the data field of described file header, the spare field of described file header points to described image encryption data, and by described file header, described data splitting and described image encryption Data Synthesis, to generate encrypted image.
Preferably, described blur unit adopts fuzzy algorithm to carry out Fuzzy Processing to described original image, to obtain described blurred picture.
Preferably, described ciphering unit generates described encryption key in order to answer corresponding for described information to be adopted the western algorithm in Kazakhstan.
Preferably, described synthesis unit comprises:
One first memory module, in order to store described data splitting;
One second memory module, in order to store described image encryption data.
A kind of photo decryption system, comprising:
One receiving element, in order to receiving and deciphering password;
One storage unit, in order to storage encryption image, described encrypted image comprises original image through the blurred picture of Fuzzy Processing and the data splitting that combines with information;
One display unit, connects described storage unit, in order to show described data splitting;
One matching unit, connects described receiving element, described storage unit and described display unit respectively, in order to be mated with the encryption key preset by described clear crytpographic key;
When described clear crytpographic key does not mate with described encryption key, described display unit shows described data splitting;
One decryption unit, connect described matching unit and described display unit respectively, when described clear crytpographic key mates with described encryption key, described decryption unit in order to be decrypted to obtain described original image to described encrypted image, and shows described original image by described display unit.
Preferably, described encrypted image also comprises the image encryption data of described original image after encryption.
Preferably, described image encryption data are that described encryption key and described original image carry out coded treatment synthetic image enciphered data.
Preferably, described encryption key is adopted by the answer that described information is corresponding and breathes out the generation of western algorithm.
The beneficial effect of technique scheme:
1) photo encryption system carries out Fuzzy Processing by blur unit to original image, by ciphering unit, original image is encrypted, can reach when to the display of encryption photo, first show blurred picture, if Crypted password cannot be obtained still can show blurred picture, be unlikely to allow original image cancel completely;
2) photo decryption system is by the display unit display information of clear crytpographic key and original image through the blurred picture of Fuzzy Processing, when clear crytpographic key input is correct, can show original image; When clear crytpographic key input error, still can show the blurred picture of original image, be unlikely to allow original image cancel completely.
Accompanying drawing explanation
Fig. 1 is the module map of a kind of embodiment of photo encryption system of the present invention;
Fig. 2 is the module map of a kind of embodiment of photo decryption system of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all belongs to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, a kind of photo encryption system, what be applied to camera takes pictures in process, comprising:
One acquiring unit 11, in order to obtain raw image data and information;
One blur unit 13, connects acquiring unit 11, in order to carry out Fuzzy Processing to original image to obtain blurred picture, and synthesizes, information and blurred picture to form data splitting;
One ciphering unit 12, connects acquiring unit 11, generates encryption key, encryption key and original image are carried out coded treatment synthetic image enciphered data in order to the answer corresponding according to information;
One synthesis unit 14, connects blur unit 13 and ciphering unit 12, respectively in order to build file header, data splitting is pointed in the data field of file header, the spare field of file header points to image encryption data, and by file header, data splitting and image encryption Data Synthesis, to generate encrypted image.
In the present embodiment, Fuzzy Processing is carried out by blur unit 13 pairs of original images, be encrypted by ciphering unit 12 pairs of original images, can reach when to the display of encryption photo, first show blurred picture, if Crypted password cannot be obtained still can show blurred picture, be unlikely to allow original image cancel completely.
In one is specifically implemented, blur unit 13 adopts fuzzy algorithm to carry out Fuzzy Processing to original image, to obtain blurred picture.
In the present embodiment, take information as elementary school name for example illustrates the treatment scheme of blur unit 13: blur unit 13 adopts fuzzy algorithm to carry out Fuzzy Processing to form blurred picture to original image, elementary school name and blurred picture are synthesized, to form data splitting simultaneously.
In one is specifically implemented, ciphering unit 12 breathes out western algorithm generation encryption key in order to answer corresponding for information to be adopted.
Further, encryption key is 128 bit encryption keys.
In the present embodiment, ciphering unit 12 by answer corresponding for elementary school name as: cultivate people of ability primary school adopt breathe out western algorithm generate 128 bit encryption keys, 128 bit encryption keys and original image are synthesized with synthetic image enciphered data simultaneously.
In one is specifically implemented, synthesis unit 14 comprises:
One first memory module, in order to store data splitting;
One second memory module, in order to storage figure as enciphered data.
In the present embodiment, the normal data district of the file header that synthesis unit 14 constructs points to the first memory module, and the offset address of the second memory module is stored in the non-field of file header.After user copies the photo of encryption to computer, if there is no clear crytpographic key, blurred picture and the information of original image can only be shown, cannot original image be shown, thus reach the object of protection privacy of user.
As shown in Figure 2, a kind of photo decryption system, comprising:
One receiving element 21, in order to receiving and deciphering password;
One storage unit 22, in order to storage encryption image, encrypted image comprises original image through the blurred picture of Fuzzy Processing and the data splitting that combines with information;
One display unit 23, connects storage unit 22, in order to show data splitting;
One matching unit 24, connects receiving element 21, storage unit 22 and display unit 23 respectively, in order to be mated with the encryption key preset by clear crytpographic key;
When clear crytpographic key does not mate with encryption key, display unit 23 shows data splitting;
One decryption unit 25, respectively matching connection unit 24 and display unit 23, when clear crytpographic key mates with encryption key, decryption unit 25 in order to be decrypted to obtain original image to encrypted image, and shows original image by display unit 23;
When clear crytpographic key does not mate with encryption key, display unit 23 shows data splitting.
In the present embodiment, show the information of clear crytpographic key and original image through the blurred picture of Fuzzy Processing by display unit 23, when clear crytpographic key input is correct, can show original image; When clear crytpographic key input error, still can show the blurred picture of original image, be unlikely to allow original image cancel completely.
In one is specifically implemented, encrypted image also comprises the image encryption data of original image after encryption.
In the present embodiment, take information as elementary school name, clear crytpographic key for primary school of cultivating people of ability be that example illustrates: first received the clear crytpographic key inputted by user by special software.Special software can be the application such as the picture library in the picture software for display supporting with photograph software or mobile terminal.When user does not input clear crytpographic key, display unit 23 display reminding information and original image are through the blurred picture of Fuzzy Processing; When the clear crytpographic key of user's input is for cultivating people of ability little class hour, display unit 23 shows original image; When the clear crytpographic key mistake of user's input, display unit 23 still shows blurred picture, is unlikely to allow original image cancel completely.
In one is specifically implemented, image encryption data are that encryption key and original image carry out coded treatment synthetic image enciphered data.
In the present embodiment, clear crytpographic key mates with encryption key by matching unit 24, if coupling, then decryption unit 25 decrypt encrypted data, shows original image by display unit 23; If do not mate, then display unit 23 shows blurred picture.
In one is specifically implemented, encryption key is adopted by the answer that information is corresponding and breathes out the generation of western algorithm.
Further, encryption key is 128 bit encryption keys.
In the present embodiment, when encryption key is for cultivating people of ability little class hour, adopting the western algorithm in Kazakhstan to generate 128 bit encryption keys according to primary school of cultivating people of ability, 128 bit encryption keys and original image being synthesized with synthetic image enciphered data simultaneously.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection domain is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations instructions of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.

Claims (8)

1. a photo encryption system, what be applied to camera takes pictures in process, it is characterized in that, comprising:
One acquiring unit, in order to obtain raw image data and information;
One blur unit, connects described acquiring unit, in order to carry out Fuzzy Processing to described original image to obtain blurred picture, and synthesizes, described information and described blurred picture to form data splitting;
One ciphering unit, connects described acquiring unit, generates encryption key, described encryption key and described original image are carried out coded treatment synthetic image enciphered data in order to the answer corresponding according to described information;
One synthesis unit, connect described blur unit and described ciphering unit respectively, in order to build file header, described data splitting is pointed in the data field of described file header, the spare field of described file header points to described image encryption data, and by described file header, described data splitting and described image encryption Data Synthesis, to generate encrypted image.
2. photo encryption system as claimed in claim 1, is characterized in that, described blur unit adopts fuzzy algorithm to carry out Fuzzy Processing to described original image, to obtain described blurred picture.
3. photo encryption system as claimed in claim 1, is characterized in that, described ciphering unit generates described encryption key in order to answer corresponding for described information to be adopted the western algorithm in Kazakhstan.
4. the photo encryption system as described in claim 1 or 3, is characterized in that, described synthesis unit comprises:
One first memory module, in order to store described data splitting;
One second memory module, in order to store described image encryption data.
5. a photo decryption system, is characterized in that, comprising:
One receiving element, in order to receiving and deciphering password;
One storage unit, in order to storage encryption image, described encrypted image comprises original image through the blurred picture of Fuzzy Processing and the data splitting that combines with information;
One display unit, connects described storage unit, in order to show described data splitting;
One matching unit, connects described receiving element, described storage unit and described display unit respectively, in order to be mated with the encryption key preset by described clear crytpographic key;
When described clear crytpographic key does not mate with described encryption key, described display unit shows described data splitting;
One decryption unit, connect described matching unit and described display unit respectively, when described clear crytpographic key mates with described encryption key, described decryption unit in order to be decrypted to obtain described original image to described encrypted image, and shows described original image by described display unit.
6. photo decryption system as claimed in claim 5, is characterized in that, described encrypted image also comprises the image encryption data of described original image after encryption.
7. photo decryption system as claimed in claim 6, it is characterized in that, described image encryption data are that described encryption key and described original image carry out coded treatment synthetic image enciphered data.
8. the photo decryption system as described in claim 5 or 7, is characterized in that, described encryption key is adopted by the answer that described information is corresponding and breathes out the generation of western algorithm.
CN201510887860.6A 2015-12-04 2015-12-04 Picture encryption system and picture decryption system Pending CN105447395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510887860.6A CN105447395A (en) 2015-12-04 2015-12-04 Picture encryption system and picture decryption system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510887860.6A CN105447395A (en) 2015-12-04 2015-12-04 Picture encryption system and picture decryption system

Publications (1)

Publication Number Publication Date
CN105447395A true CN105447395A (en) 2016-03-30

Family

ID=55557558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510887860.6A Pending CN105447395A (en) 2015-12-04 2015-12-04 Picture encryption system and picture decryption system

Country Status (1)

Country Link
CN (1) CN105447395A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590770A (en) * 2017-08-31 2018-01-16 努比亚技术有限公司 Image obscures encryption method, mobile terminal and storage medium
CN111277865A (en) * 2020-01-17 2020-06-12 深圳市春盛海科技有限公司 Method and device for encrypting image in real time
CN113094723A (en) * 2021-03-29 2021-07-09 联想(北京)有限公司 Processing method, electronic equipment and processing device
EP4203380A4 (en) * 2020-08-21 2024-01-31 Almond Inc Encryption method, terminal device, encryption system, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138725A1 (en) * 2007-11-28 2009-05-28 Sriganesh Madhvanath Authentication System and Method
CN103605928A (en) * 2013-11-18 2014-02-26 清华大学 Method and system for protecting privacy of images
CN104778417A (en) * 2015-03-20 2015-07-15 惠州Tcl移动通信有限公司 Method and mobile terminal for preventing personal fingerprint information from leaking through photo

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138725A1 (en) * 2007-11-28 2009-05-28 Sriganesh Madhvanath Authentication System and Method
CN103605928A (en) * 2013-11-18 2014-02-26 清华大学 Method and system for protecting privacy of images
CN104778417A (en) * 2015-03-20 2015-07-15 惠州Tcl移动通信有限公司 Method and mobile terminal for preventing personal fingerprint information from leaking through photo

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590770A (en) * 2017-08-31 2018-01-16 努比亚技术有限公司 Image obscures encryption method, mobile terminal and storage medium
CN111277865A (en) * 2020-01-17 2020-06-12 深圳市春盛海科技有限公司 Method and device for encrypting image in real time
EP4203380A4 (en) * 2020-08-21 2024-01-31 Almond Inc Encryption method, terminal device, encryption system, and program
CN113094723A (en) * 2021-03-29 2021-07-09 联想(北京)有限公司 Processing method, electronic equipment and processing device

Similar Documents

Publication Publication Date Title
US8224041B2 (en) Media data processing apparatus and media data processing method
Yuan et al. Privacy-preserving photo sharing based on a secure JPEG
US10467427B2 (en) Method and apparatus for providing secure image encryption and decryption
US10489603B2 (en) Method and apparatus for image privacy protection
US8774412B2 (en) Verification method and system
US20030048908A1 (en) System and method for protecting the content of digital cinema products
US20130279690A1 (en) Preserving image privacy when manipulated by cloud services
CN104125210A (en) Head-mounted display apparatus with enhanced security and method for accessing encrypted information by same
Arora et al. Digital image security based on the hybrid model of image hiding and encryption
WO2017026356A1 (en) Image processing device, image restoring device, image processing method, and image restoring method
CN105447395A (en) Picture encryption system and picture decryption system
Pramanik et al. Signature image hiding in color image using steganography and cryptography based on digital signature concepts
JP2007206762A (en) Communication method and communication device using two-dimensional code
Punithavathi et al. Visual cryptography: A brief survey
CN109005196A (en) Data transmission method, data decryption method, device and electronic equipment
CN112035847A (en) Image encryption and decryption method and device, electronic equipment and storage medium
CN101572791A (en) Image encryption system and method
JP2005229265A (en) Image encryption system and method
CN105635100A (en) Information encryption method, information decryption method and terminal
CN101360215A (en) Projector ciphering system and using method of projector ciphering system
CN111131270B (en) Data encryption and decryption method and device, electronic equipment and storage medium
CN114286131A (en) Transmission method and device for anchor image model file in live broadcast wheat
JP7163656B2 (en) Delivery system, receiving client terminal, delivery method
KR20220051510A (en) Device, method and computer program for protecting image including personal information
CN110730188A (en) Method for encrypting, storing and transmitting static pictures

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190723