Partial Image Encryption via Data Block Splicing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

There is a need for an image processing method that allows for partial encryption of images to ensure only authorized individuals can view the complete content, while unauthorized users can only see partial content for privacy protection.

Innovation Solution

The method involves editing an original image, encrypting it, and saving it as a partially-encrypted file by splicing the encrypted data block behind or between file terminators in the image file, with indication information for decryption and display purposes, allowing for secure viewing based on password input.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entire image is encrypted, then security is improved, but the ability to preview or share partial content is lost

Engineering Contradiction:
Improveimage securityVSAvoidpartial content accessibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The image is divided into multiple data blocks, where only certain blocks are encrypted while others remain in plaintext. This allows the image to be segmented into secure and accessible portions, enabling both security and partial preview functionality simultaneously.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different regions of the image file are assigned different encryption states. The header and specific data blocks maintain plaintext quality for accessibility, while other blocks apply encryption for security, creating local quality variations within the same file.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If indication information is added to mark encrypted blocks, then decryption accuracy is improved, but file complexity increases

Engineering Contradiction:
Improvedecryption accuracyVSAvoidfile structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

Indication information is pre-inserted into the image file header and data blocks during the encryption process. This preliminary marking enables the decryption device to quickly identify encrypted blocks without complex analysis, improving decryption accuracy while maintaining manageable file structure.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10922435B2Image encryption method, image viewing method, system, and terminal
Publication Date: 2021.02.16 ZTE CORP
  • US10922435B2 patent drawing
  • US10922435B2 patent drawing
  • US10922435B2 patent drawing

AI summary

An image encryption method, an image viewing method, a system, and a terminal are provided. The image encryption method includes: editing an original image, saving the edited original image as a first image file; encrypting the original image to generate an encrypted data block; and, splicing the first image file with the encrypted data block to generate and save a partially-encrypted image file. The image viewing method includes: when determining that indication information used for indicating partial encryption process is carried in an image file, decrypting an encrypted data block, and displaying data of an original image obtained after decrypting successfully; herein, the partially-encrypted image file is formed by splicing the first image file and the encrypted data block, the first image file contains edited original image data, and the encrypted data block corresponds to encrypted original image data.