Segmented Data Encryption Using Multi-Key Randomized Strings
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data encryption methods using common algorithms like MD5 and DES are vulnerable to key leakage, compromising the security of encrypted data.
Innovation Solution
The method involves dividing data into character strings, extracting an initial random number, and generating multiple keys for each string using specific strategies, encrypting each string individually, making it difficult to recover the data without the first target position and key generation strategies.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If common encryption algorithms (MD5, DES) are used with a single key, then encryption process is simple, but security is compromised due to key leakage
Solution Approach 1:
The data is divided into multiple character strings based on a first target position, and each character string is encrypted using a different key generated from the same initial random number through different key generation strategies. This segmentation approach ensures that even if one key is compromised, other segments remain secure
Solution Approach 2:
Different key generation strategies are applied to different character strings, creating locally optimized encryption for each segment. Each segment has its own unique key derivation method, making the overall system more resilient to key leakage attacks
2Reliability
If data is divided into multiple character strings with different keys, then security is improved, but encryption process becomes more complex
Solution Approach 1:
An initial random number is extracted from the data itself before the encryption process begins. This preliminary extraction of the random number simplifies subsequent key generation operations, as all keys are derived from this pre-extracted value using different strategies
Solution Approach 2:
The data itself provides the initial random number through extraction, eliminating the need for external random number generation. The encryption system uses its own data structure to generate the foundational element needed for key derivation
Data Source
AI summary
A method for data encryption, a terminal device, and a computer-readable storage medium. The method includes: obtaining data to be encrypted, where the data to be encrypted includes a plurality of character strings obtained by dividing the data to be encrypted according to a first target position; extracting an initial random number according to a target character string of the plurality of character strings; generating a plurality of keys used for the plurality of character strings according to the initial random number and a plurality of key generation strategies, where the plurality of character strings correspond to the plurality of key generation strategies, respectively; and using the plurality of keys used for the plurality of character strings to encrypt the plurality of character strings respectively to obtain target encrypted data. According to the embodiments of the present disclosure, the security of encrypted data may be improved.


