Simultaneous Compression and Encryption via Keystream Permutation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for simultaneous compression and encryption of data often result in suboptimal compression ratios due to encryption hiding statistical redundancies, leading to inefficient file size reduction and security vulnerabilities, particularly when dealing with data-rich media formats like audio and video.

Innovation Solution

The proposed solution integrates encryption into the compression process using a keystream to optimize and randomize the compression/encryption process, employing a block cipher to ensure secure and efficient transmission and storage of multimedia data, allowing for simultaneous compression and encryption in a single step.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If encryption is performed before compression, then security is improved, but compression ratio deteriorates because encryption hides statistical redundancies

Engineering Contradiction:
ImprovesecurityVSAvoidcompression ratio
Core Design Contradiction:
ReliabilityVSLoss of substance

Solution Approach 1:

The patent merges encryption and compression into a single integrated operation. The compression algorithm's probability model is modified to incorporate encryption by using a keystream to randomly permute the cumulative probability distribution, allowing both compression and encryption to occur simultaneously without sequential processing.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

A keystream serves as an intermediary between the compression model and the output. The keystream randomly permutes the cumulative probability distribution during compression, acting as a mediator that enables both compression efficiency and encryption security within the same process.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of substance

If traditional sequential compression then encryption is used, then compression ratio is optimized, but device complexity and processing time increase

Engineering Contradiction:
Improvecompression ratioVSAvoidprocessing complexity
Core Design Contradiction:
Loss of substanceVSDevice complexity

Solution Approach 1:

The patent combines two separate operations (compression and encryption) into one unified process. By modifying the arithmetic encoder to incorporate keystream-based random permutation of the probability model, the system achieves both compression and encryption in a single pass, reducing computational complexity and processing time.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The modified arithmetic encoder serves multiple functions simultaneously: it performs compression by encoding symbols according to their probability distribution, and it performs encryption by randomly permuting that distribution using the keystream. This multi-functional approach eliminates the need for separate compression and encryption modules.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If random statistical updates are used for simultaneous compression and encryption, then security is provided, but compression ratio deteriorates because optimal compression cannot be achieved

Engineering Contradiction:
ImprovesecurityVSAvoidcompression ratio
Core Design Contradiction:
ReliabilityVSLoss of substance

Solution Approach 1:

The keystream acts as an intermediary that systematically permutes the cumulative probability distribution based on the current model state rather than using random updates. This deterministic yet unpredictable permutation maintains compression efficiency by preserving the statistical structure while providing encryption.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameters of the probability model dynamically during encoding by applying keystream-based permutations to the cumulative distribution. This allows the model to adapt to the input data while simultaneously providing encryption, maintaining optimal compression ratios.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10785545B2Systems and methods for simultaneous compression and encryption
Publication Date: 2020.09.22 BOARD OF RGT THE UNIV OF TEXAS SYST
  • US10785545B2 patent drawing
  • US10785545B2 patent drawing
  • US10785545B2 patent drawing

AI summary

Embodiments of reversible systems and methods for fast, secure and efficient transmission, storage, and protection of digital multimedia are disclosed. The embodiments may have the ability to simultaneously compress and encrypt digital data in order to concurrently reduce data size and prevent reconstruction without the proper encryption key. Embodiments of a method may include pre-processing data to optimize the size of data segments to be compressed, transforming the data for improving the compressibility of the before-mentioned data segments, processing the data sequentially to generate predictive statistical models, encoding the data for simultaneously encrypting and compressing data segments using a keystream, and increasing both the compression ratio and security of these encoding processes using a block cipher. Embodiments of these methods may be suitable for use on both encrypted and unencrypted media.