SMS encryption processing method and system based on information security
By entropy calculation and segmentation processing of text messages, combined with image steganography technology, the problem of low encryption strength of existing text message encryption methods is solved, and high-security and low-impact text message encryption effects are achieved.
Patent Information
- Application Number
- CN202411029848.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-30
AI Technical Summary
Existing SMS encryption methods have low encryption strength and low efficiency, making it difficult to effectively protect the confidentiality and integrity of SMS messages.
By performing entropy calculation and segmentation processing on the text messages to be encrypted, multiple symmetric encryption keys are generated for encryption processing, and image texture fluctuation data and edge color difference analysis are used to identify high-noise bit planes for image steganography embedding to generate visually optimized encryption cryptics. Write images.
It improves the encryption security and concealment of text messages, protects the confidentiality and integrity of text messages, and at the same time reduces the damage and distortion of image quality caused by the encryption process.
Smart Images

Figure CN118574116B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data encryption, and in particular to a method and system for processing short message encryption based on information security. Background Art
[0002] With the popularization of mobile communications and the widespread use of text messages, protecting the information security of text messages has become an important requirement. Traditional text message encryption methods mainly rely on encoding or encrypting the text message content, such as using simple substitution ciphers, permutation ciphers or symmetric encryption algorithms. However, these methods often have the problems of low encryption strength and low encryption efficiency. Therefore, an information security-based text message encryption processing method and system are needed to ensure the confidentiality and integrity of text messages. Summary of the invention
[0003] In order to solve the above technical problems, the present invention proposes a method and system for SMS encryption processing based on information security to solve at least one of the above technical problems.
[0004] To achieve the above object, the present invention provides a method for encrypting short messages based on information security, comprising the following steps:
[0005] Step S1: obtaining a text message to be encrypted; generating text message entropy to be encrypted based on the text message to be encrypted; segmenting the text message to be encrypted based on the text message entropy to be encrypted, thereby obtaining segmented information to be encrypted;
[0006] Step S2: obtaining a plurality of symmetric encryption keys based on the segmented information to be encrypted; performing data encryption processing on the segmented information to be encrypted using the plurality of symmetric encryption keys to generate an encryption matrix;
[0007] Step S3: obtaining an original image; generating image texture fluctuation data based on the random original image; performing edge color difference analysis on the random original image to obtain color distribution characteristics of the edge area; obtaining image bit plane structure data based on the image texture fluctuation data and the edge color difference data;
[0008] Step S4: Based on the image bit plane structure data, a high noise bit plane is identified on the random original image to obtain a high noise bit plane; and a noise uniform area is identified on the high noise bit plane to obtain an image steganographic area;
[0009] Step S5: obtaining an encrypted bit stream based on the encryption matrix; embedding the encrypted bit stream into the image steganographic region to obtain an encrypted steganographic image;
[0010] Step S6: obtaining a smoothed stego image based on the encrypted stego image; optimizing the visual distortion frequency of the random original image based on the smoothed stego image to obtain a visually optimized encrypted stego image; and outputting the visually optimized encrypted stego image as data to obtain a text message encryption result.
[0011] The present invention pre-processes and segments the short message to be encrypted for subsequent encryption processing, generates entropy of the short message to be encrypted, evaluates the information volume and uncertainty of the short message to be encrypted, thereby providing a basis for the subsequent encryption process, segments the short message to be encrypted into multiple parts, facilitates subsequent encryption processing and management, uses multiple symmetric encryption keys to encrypt the segmented information to be encrypted, thereby improving the security of encryption, generates multiple symmetric encryption keys, increases the complexity and randomness of the key, and makes the encryption process more secure and reliable, uses these keys to encrypt the segmented information to be encrypted, generates an encryption matrix, converts the short message information into an encrypted form, protects the confidentiality of the short message, processes the original image, obtains image bit plane structure data for steganography, generates image texture fluctuation data, increases the complexity and randomness of the image, and provides an embedding basis for the subsequent steganography process, and obtains the characteristics of color distribution in the edge area by performing edge color difference analysis on the random original image. Provide better image structure information. Based on image texture fluctuation data and edge color difference data, obtain image bit plane structure data for subsequent steganography and encryption processes. Analyze random original images to identify high-noise bit planes and image steganographic areas. By analyzing the image bit plane structure data, identify high-noise bit planes. These bit planes have high noise and complexity and are suitable for hiding encrypted data. By identifying the noise uniform area of high-noise bit planes, determine the steganographic area in the image, and provide positioning and embedding basis for subsequent steganographic processes. The embedding of encrypted bit streams merges encrypted data with images, improving the concealment and security of encryption. The generation of encrypted steganographic images realizes the encryption and steganography of SMS content and protects the confidentiality and integrity of SMS. The generation of smooth steganographic images improves the visual quality of images and reduces the damage and distortion caused by the encryption process to images. The generation of visually optimized encrypted steganographic images minimizes the impact on image quality while protecting the confidentiality of SMS.
[0012] Preferably, step S1 comprises the following steps:
[0013] Step S11: Obtain the SMS to be encrypted;
[0014] Step S12: performing information sensitivity analysis on the SMS to be encrypted to obtain a SMS sensitivity value;
[0015] Step S13: Calculate data entropy of the SMS to be encrypted based on the SMS sensitivity value to generate SMS entropy;
[0016] Step S14: segmenting the SMS to be encrypted based on the SMS entropy to obtain segmented information to be encrypted.
[0017] The present invention analyzes the short message to be encrypted to evaluate the sensitivity of its information, determines the potential sensitive information in the short message to be encrypted through information sensitivity analysis, and evaluates the information volume and uncertainty of the short message by calculating the data entropy of the short message to be encrypted. The data entropy is a measure of information and reflects the degree of information confusion and complexity in the short message. By generating the entropy of the short message to be encrypted, a reference is provided for the subsequent encryption process, such as determining the key length, the selection of the encryption algorithm, etc. The short message to be encrypted is segmented and divided into multiple parts for the convenience of subsequent encryption processing and management. By segmenting the short message to be encrypted, a longer short message is divided into smaller blocks, which facilitates encryption processing and improves the flexibility of the system. After the short message to be encrypted is segmented, each segment is encrypted independently, which increases the security and efficiency of the encryption process.
[0018] Preferably, step S2 comprises the following steps:
[0019] Step S21: obtaining multiple symmetric encryption keys based on the segment information to be encrypted;
[0020] Step S22: performing hash coding on the segment information to be encrypted to obtain a segment information hash code;
[0021] Step S23: serializing the hash codes of the segment information to obtain a hash code matrix;
[0022] Step S24: using multiple symmetric encryption keys to perform data encryption processing on the hash coding matrix to generate an encryption matrix.
[0023] The present invention generates multiple symmetric encryption keys through segmented information to be encrypted. The symmetric encryption keys are used to perform encryption and decryption operations on the segmented information to be encrypted. By generating multiple symmetric encryption keys, the complexity and randomness of the keys are increased, and the security of encryption is improved. The segmented information to be encrypted is hash-coded, and the segmented information is converted into a hash value of a fixed length. Hash coding is an algorithm that converts data of any length into data of a fixed length, and has uniqueness and irreversibility. By performing hash coding on the segmented information to be encrypted, the characteristic value of the information is extracted for subsequent encryption processing. The hash coding of the segmented information is serialized, and the hash coding is converted into a matrix form. The serialization process organizes and arranges the data according to certain rules, which is convenient for subsequent data processing and management. By serializing the hash coding of the segmented information into a matrix, a more flexible and efficient data structure is provided for subsequent encryption operations. By using multiple symmetric encryption keys, the security of the encryption process is increased. By performing data encryption processing on the hash coding matrix, the information in the matrix is protected to prevent unauthorized access and tampering. The generated encryption matrix is used as the form after the SMS is encrypted to protect the confidentiality of the SMS.
[0024] Preferably, step S3 comprises the following steps:
[0025] Step S31: Obtain a random original image;
[0026] Step S32: performing grayscale channel decomposition on the random original image to generate image color channels;
[0027] Step S33: performing histogram grayscale distribution calculation on the image color channel to generate image pixel value distribution data;
[0028] Step S34: performing texture fluctuation analysis on the random original image based on the image pixel value distribution data to generate image texture fluctuation data;
[0029] Step S35: performing edge color difference analysis on the random original image to obtain edge area color distribution characteristics;
[0030] Step S36: performing bit plane structure analysis based on the image texture fluctuation data and the edge area color distribution characteristics, thereby obtaining image bit plane structure data.
[0031] The present invention converts a color image into a single-channel grayscale image by grayscale channel decomposition, decomposes the color channel of the image, analyzes and processes each channel independently, thereby extracting color information in the image, and calculating a histogram to understand the brightness distribution of the image. The image pixel value distribution data is used to analyze the brightness characteristics of the image, and provides data support for subsequent texture fluctuation analysis and edge color difference analysis. The texture fluctuation analysis is a process of quantifying the changes and details of the texture in the image. The texture characteristics of the image are extracted by analyzing the texture fluctuation of the image. The generated image texture fluctuation data is used for subsequent bit plane structure analysis. The edge color difference analysis detects and extracts edge information in the image by comparing the color differences of adjacent pixels. The shape and position information of the edge in the image is obtained by analyzing the color distribution characteristics of the edge area. The bit plane structure analysis is a method for binarizing an image. The details and characteristics of the image are extracted by analyzing the bit plane structure of the image. The generated image bit plane structure data is used for subsequent short message encryption as input data for encryption.
[0032] Preferably, the specific steps of step S35 are:
[0033] Perform edge region detection on random original images to extract image edge regions;
[0034] Performing color difference analysis on the edge area of the image based on the image pixel value distribution data to obtain the color difference of the edge area;
[0035] The color space distribution analysis is performed based on the color difference of the edge area to generate the color distribution characteristics of the edge area.
[0036] The present invention separates edge information in an image from the background by performing edge area detection, and provides accurate edge area data for subsequent analysis and processing. Color difference is an indicator for measuring the degree of color change in an image. By analyzing the color difference of the edge area, the degree of color change in the edge area is quantified. The color difference of the edge area is used for subsequent color space distribution analysis. Color space distribution analysis is a process of quantifying the distribution of colors in an image. By analyzing the color space distribution of the edge area, the distribution pattern of colors in the edge area is extracted. The generated edge area color distribution features are used for subsequent SMS encryption as encrypted input data to protect the confidentiality of SMS.
[0037] Preferably, the specific steps of step S4 are:
[0038] Step S41: performing bit plane characteristic analysis on the random original image based on the image bit plane structure data to obtain the image bit plane characteristics;
[0039] Step S42: identifying high noise bit planes based on the image bit plane characteristics to obtain high noise bit planes;
[0040] Step S43: performing noise distribution analysis on the high noise bit plane to generate bit plane noise distribution data;
[0041] Step S44: Based on the bit plane noise distribution data, the noise uniform area of the random original image is identified to obtain the image steganographic area.
[0042] The present invention describes the bit distribution of each pixel value in an image through a bit plane structure, understands the importance and information distribution of different bits in the image by analyzing the bit plane characteristics of the image, and provides a basis for subsequent noise analysis and steganographic area identification. Based on the bit plane characteristics of the image, identification is performed to extract high-noise bit planes in the image. The high-noise bit plane refers to a bit plane with more significant noise in the image, which usually contains less useful information. By identifying the high-noise bit plane, it is distinguished from other bit planes to provide accurate data for subsequent noise analysis and steganographic area identification. By analyzing the noise distribution, the intensity and distribution pattern of the noise in the bit plane are understood. The generated bit plane noise distribution data is used for subsequent steganographic area identification. By identifying the uniform noise area, the image area containing secret information is located, and the steganographic target area is provided for subsequent short message encryption.
[0043] Preferably, the specific steps of step S5 are:
[0044] Step S51: uniformly adjusting the color components of the image steganographic area to obtain a steganographic area with uniform components;
[0045] Step S52: performing binary quantization encoding on the encryption matrix to obtain an encrypted bit stream;
[0046] Step S53: embed the encrypted bit stream into the uniform steganographic area to obtain an encrypted steganographic image.
[0047] The present invention increases the randomness and concealment of the image by adjusting the distribution of color components, making the embedded information more difficult to detect and crack. The component uniform steganographic area refers to the state in which the color components in the image steganographic area are uniformly distributed in space after adjustment. The encryption matrix is binary quantized and encoded to convert it into a string of binary bit streams. The encryption matrix is a matrix structure for storing and representing encrypted information. By binary quantization encoding, the information therein is converted into binary form, which is convenient for subsequent image steganographic embedding operations.
[0048] Preferably, the specific steps of step S53 are:
[0049] Performing texture intensity feature analysis on the component uniform steganographic region to obtain texture intensity feature data;
[0050] Calculate the bitstream embedding peak value based on the texture intensity feature data to obtain the bitstream embedding peak value in the region;
[0051] Perform distributed dynamic embedding analysis on the encrypted bitstream based on the bitstream embedding peak value in the region and generate a bitstream embedding dynamic strategy;
[0052] Based on the bitstream embedding dynamic strategy, the image is steganographically embedded in the component uniform steganographic area to obtain an encrypted steganographic image.
[0053] The present invention extracts texture intensity feature data by performing texture intensity feature analysis on the component uniform steganographic region. Texture intensity refers to the texture complexity or texture richness of a local region in an image. By analyzing the texture intensity feature of the component uniform steganographic region, the complexity and distribution of the texture in the region are understood, providing a basis for subsequent bitstream embedding. The bitstream embedding peak value is calculated based on the texture intensity feature data to obtain the peak value of the bitstream embedded in the region. The bitstream embedding peak value refers to the maximum number of bitstreams embedded in the component uniform steganographic region. By calculating the peak value, the upper limit of the number of bitstreams embedded in each region is determined, providing a reference for subsequent embedding strategies, and the encrypted bitstream is distributed according to the bitstream embedding peak value in the region. The distributed dynamic embedding analysis generates a dynamic strategy for bitstream embedding. The dynamic strategy is used to determine the location and quantity of bitstream embedding in each region to maximize the use of the embedding capacity in each region and ensure the quality and concealment of the embedded image. The distributed dynamic embedding analysis takes into account the characteristics and embedding limitations of different regions, generates a personalized embedding strategy for each region, and according to the bitstream embedding dynamic strategy, performs image steganography embedding on the component uniform steganographic region to generate an encrypted steganographic image. By embedding the encrypted bitstream into the component uniform steganographic region according to the dynamic strategy, higher embedding efficiency and embedding quality are achieved. The encrypted steganographic image is visually similar to the original image, in which encrypted information is embedded, and has higher security and concealment.
[0054] Preferably, the specific steps of step S6 are:
[0055] Step S61: performing edge filtering and smoothing on the encrypted stego-image to obtain a smooth stego-image;
[0056] Step S62: performing visual distortion analysis on the random original image based on the smoothed stego image to obtain visual distortion data;
[0057] Step S63: optimizing the visual distortion frequency of the smoothed steganographic image by using the visual distortion data to obtain a visually optimized encrypted steganographic image;
[0058] Step S64: Output the visually optimized encrypted steganographic image as data to obtain a text message encryption result.
[0059] The present invention reduces noise and sharp edges in an image by edge filtering and smoothing, making the image smoother and more continuous. Through smoothing, the visual quality of the encrypted steganographic image is improved, and the influence of embedded information on the overall appearance of the image is reduced. By comparing the difference between the smoothed steganographic image and the original image, visual distortion data is obtained, which is used to evaluate the visual influence of the encrypted steganographic image on the original image. The visual distortion data quantifies the loss of image quality and provides a basis for subsequent optimization. By analyzing the distortion data, the main frequency components and the influence range of the visual distortion in the encrypted steganographic image are determined. Then, for the distortion components of different frequencies, a suitable optimization method is adopted for processing to reduce the influence of the distortion on visual perception. The visually optimized encrypted steganographic image finally obtained is visually closer to the original image and has better visual quality. The visually optimized encrypted steganographic image is output as the final data. As the result of SMS encryption, the visually optimized encrypted steganographic image is an image processed by edge filtering and smoothing and distortion frequency optimization, and has better visual quality and concealment. The image is used for transmission and sharing, and the receiver decrypts and restores the hidden information.
[0060] In this specification, a short message encryption processing system based on information security is provided, which is used to execute the short message encryption processing method based on information security as described above, including:
[0061] The data segmentation module is used to obtain the SMS to be encrypted; generate the SMS entropy to be encrypted based on the SMS to be encrypted; and segment the SMS to be encrypted based on the SMS entropy to be encrypted, thereby obtaining the segment information to be encrypted;
[0062] A data encryption module is used to obtain multiple symmetric encryption keys based on the segmented information to be encrypted; use the multiple symmetric encryption keys to perform data encryption processing on the segmented information to be encrypted to generate an encryption matrix;
[0063] The color distribution module is used to obtain the original image; generate image texture fluctuation data based on the random original image; perform edge color difference analysis on the random original image to obtain color distribution characteristics of the edge area; obtain image bit plane structure data based on the image texture fluctuation data and edge color difference data;
[0064] A high noise bit plane recognition module is used to perform high noise bit plane recognition on a random original image based on the image bit plane structure data to obtain a high noise bit plane; and perform noise uniform area recognition on the high noise bit plane to obtain an image steganographic area;
[0065] The image steganography module is used to obtain an encrypted bit stream based on the encryption matrix; the encrypted bit stream is embedded in the image steganography area to obtain an encrypted steganographic image;
[0066] The visual distortion optimization module is used to obtain a smoothed stego image based on the encrypted stego image; optimize the visual distortion frequency of the random original image based on the smoothed stego image to obtain a visually optimized encrypted stego image; and output the visually optimized encrypted stego image as data to obtain a text message encryption result.
[0067] The present invention obtains the text message to be encrypted through the data segmentation module and generates the entropy of the text message to be encrypted. By segmenting the text message to be encrypted, the long text is divided into multiple smaller parts, which is convenient for subsequent data encryption processing. The entropy of the text message to be encrypted is used to evaluate the information volume and complexity of the text message to be encrypted. The data encryption module generates multiple symmetric encryption keys, and uses these keys to perform data encryption processing on the encrypted segmented information, thereby generating an encryption matrix. By generating multiple symmetric encryption keys, the security of encryption is increased. The encrypted segmented information is encrypted and the original data is converted into an encrypted form to ensure the confidentiality and confidentiality of the information during transmission and storage. The color distribution module obtains the original image and analyzes the color distribution characteristics of the edge area. By obtaining the original image, the basic information and color distribution of the image are obtained. The color distribution characteristics of the edge area are analyzed for the subsequent generation of image bit plane structure data. The high-noise bit plane recognition module High-noise bit planes are identified on random original images to determine the high-noise bit planes in the image. By identifying the high-noise bit planes, areas with more noise in the image are found. These areas are often suitable for hiding encrypted information. The image steganography module generates an encrypted bit stream based on the encryption matrix, and embeds the encrypted bit stream into the stego area of the image to obtain an encrypted steganographic image. By embedding the encrypted bit stream into the stego area, the encrypted information is hidden in the image, increasing the security and concealment of the information. The visual distortion optimization module obtains a visually optimized encrypted steganographic image by smoothing the encrypted steganographic image and optimizing the visual distortion frequency. Smoothing reduces noise and sharp edges in the image and improves the visual quality of the image. The visual distortion frequency optimization optimizes the image by analyzing the distortion data to reduce the impact of distortion on visual perception. The final visually optimized encrypted steganographic image is visually closer to the original image and has better visual quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 A schematic diagram of the steps of a method for encrypting and processing short messages based on information security according to the present invention;
[0069] Figure 2 Detailed implementation flow chart of step S1;
[0070] Figure 3 Detailed implementation flow chart of step S2;
[0071] Figure 4 Detailed implementation flow chart of step S3. DETAILED DESCRIPTION
[0072] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0073] The present application example provides a method and system for SMS encryption processing based on information security. The execution subject of the method and system for SMS encryption processing based on information security includes but is not limited to: mechanical equipment, data processing platform, cloud server node, network upload device, etc. equipped with the system can be regarded as the general computing node of the present application, and the data processing platform includes but is not limited to: at least one of audio and image management system, information management system, and cloud data management system.
[0074] See also Figures 1 to 4 The present invention provides a method for encrypting and processing short messages based on information security, and the method for encrypting and processing short messages based on information security comprises the following steps:
[0075] Step S1: obtaining a text message to be encrypted; generating text message entropy to be encrypted based on the text message to be encrypted; segmenting the text message to be encrypted based on the text message entropy to be encrypted, thereby obtaining segmented information to be encrypted;
[0076] Step S2: obtaining a plurality of symmetric encryption keys based on the segmented information to be encrypted; performing data encryption processing on the segmented information to be encrypted using the plurality of symmetric encryption keys to generate an encryption matrix;
[0077] Step S3: obtaining an original image; generating image texture fluctuation data based on the random original image; performing edge color difference analysis on the random original image to obtain color distribution characteristics of the edge area; obtaining image bit plane structure data based on the image texture fluctuation data and the edge color difference data;
[0078] Step S4: Based on the image bit plane structure data, a high noise bit plane is identified on the random original image to obtain a high noise bit plane; and a noise uniform area is identified on the high noise bit plane to obtain an image steganographic area;
[0079] Step S5: obtaining an encrypted bit stream based on the encryption matrix; embedding the encrypted bit stream into the image steganographic region to obtain an encrypted steganographic image;
[0080] Step S6: obtaining a smoothed stego image based on the encrypted stego image; optimizing the visual distortion frequency of the random original image based on the smoothed stego image to obtain a visually optimized encrypted stego image; and outputting the visually optimized encrypted stego image as data to obtain a text message encryption result.
[0081] The present invention pre-processes and segments the short message to be encrypted for subsequent encryption processing, generates entropy of the short message to be encrypted, evaluates the information volume and uncertainty of the short message to be encrypted, thereby providing a basis for the subsequent encryption process, segments the short message to be encrypted into multiple parts, facilitates subsequent encryption processing and management, uses multiple symmetric encryption keys to encrypt the segmented information to be encrypted, thereby improving the security of encryption, generates multiple symmetric encryption keys, increases the complexity and randomness of the key, and makes the encryption process more secure and reliable, uses these keys to encrypt the segmented information to be encrypted, generates an encryption matrix, converts the short message information into an encrypted form, protects the confidentiality of the short message, processes the original image, obtains image bit plane structure data for steganography, generates image texture fluctuation data, increases the complexity and randomness of the image, and provides an embedding basis for the subsequent steganography process, and obtains the characteristics of color distribution in the edge area by performing edge color difference analysis on the random original image. Provide better image structure information. Based on image texture fluctuation data and edge color difference data, obtain image bit plane structure data for subsequent steganography and encryption processes. Analyze random original images to identify high-noise bit planes and image steganographic areas. By analyzing the image bit plane structure data, identify high-noise bit planes. These bit planes have high noise and complexity and are suitable for hiding encrypted data. By identifying the noise uniform area of high-noise bit planes, determine the steganographic area in the image, and provide positioning and embedding basis for subsequent steganographic processes. The embedding of encrypted bit streams merges encrypted data with images, improving the concealment and security of encryption. The generation of encrypted steganographic images realizes the encryption and steganography of SMS content and protects the confidentiality and integrity of SMS. The generation of smooth steganographic images improves the visual quality of images and reduces the damage and distortion caused by the encryption process to images. The generation of visually optimized encrypted steganographic images minimizes the impact on image quality while protecting the confidentiality of SMS.
[0082] In the embodiment of the present invention, refer to Figure 1 , is a schematic flow chart of a method for encrypting short messages based on information security of the present invention. In this example, the method for encrypting short messages based on information security includes:
[0083] Step S1: obtaining a text message to be encrypted; generating text message entropy to be encrypted based on the text message to be encrypted; segmenting the text message to be encrypted based on the text message entropy to be encrypted, thereby obtaining segmented information to be encrypted;
[0084] In this embodiment, the SMS content to be encrypted is obtained from the source data as input, the entropy of the SMS to be encrypted is calculated, the entropy value is evaluated by measuring the randomness and uncertainty of the SMS, the information volume of the SMS is calculated using information theory methods such as Shannon entropy, and the SMS to be encrypted is segmented according to certain rules, such as the number of characters, byte length or other custom rules. Each segment is processed to ensure that the length of each segment is suitable for subsequent encryption operations.
[0085] Step S2: obtaining a plurality of symmetric encryption keys based on the segmented information to be encrypted; performing data encryption processing on the segmented information to be encrypted using the plurality of symmetric encryption keys to generate an encryption matrix;
[0086] In this embodiment, a plurality of symmetric encryption keys are generated using an appropriate encryption algorithm (such as AES, DES, etc.). The symmetric encryption algorithm uses the same key for encryption and decryption operations. A pseudo-random number generator is used to generate a random number of sufficient strength as a symmetric encryption key. The segmented information to be encrypted is divided into data blocks of appropriate size for encryption processing. Each symmetric encryption key is used to perform an encryption operation on each data block. A block cipher mode (such as CBC, ECB, CTR, etc.) is used to ensure the security and randomness of encryption. The above steps are repeated, and each data block is encrypted using a different symmetric encryption key. Each encrypted data block is combined according to certain rules to form an encryption matrix. The encryption matrix is a two-dimensional matrix, in which each element represents an encrypted data block.
[0087] Step S3: obtaining an original image; generating image texture fluctuation data based on the random original image; performing edge color difference analysis on the random original image to obtain color distribution characteristics of the edge area; obtaining image bit plane structure data based on the image texture fluctuation data and the edge color difference data;
[0088] In this embodiment, image processing is performed on the original image, such as applying filters, adding noise and other operations, to generate image texture fluctuation data. The image texture fluctuation data is achieved by perturbing and changing the pixel values of the image to a certain extent, thereby increasing the complexity and randomness of the image. An edge detection algorithm (such as Canny edge detection) is used to perform edge detection on the random original image to obtain an edge image. Color difference analysis is performed on the edge image, such as calculating the color difference measurement value of the edge area. The image texture fluctuation data and the edge color difference data are merged using methods such as color histograms and color gradients to form image bit plane structure data. The image texture fluctuation data and the edge color difference data are combined using a certain encoding method to form a data set with a structure. The image bit plane structure data contains different features, such as texture information, edge information, etc., which are used for subsequent encryption and steganography processing.
[0089] Step S4: Based on the image bit plane structure data, a high noise bit plane is identified on the random original image to obtain a high noise bit plane; and a noise uniform area is identified on the high noise bit plane to obtain an image steganographic area;
[0090] In this embodiment, image processing techniques, such as pixel value analysis, frequency domain transformation and other methods, are used to perform bit plane recognition on random original images. A bit plane refers to a certain bit in the binary representation of each pixel in the image, such as the lowest bit or the highest bit. A high-noise bit plane refers to a bit plane containing more noise information. High-noise bit planes are identified based on relevant information in the image bit plane structure data. These bit planes contain hidden information. High-noise bit planes usually contain noise information in different regions, some of which have relatively uniform noise distribution. Image segmentation, clustering and other methods are used to identify noise uniform areas on high-noise bit planes to find out areas with relatively uniform noise distribution, and use the noise uniform areas as image steganographic areas for encrypted text messages.
[0091] Step S5: obtaining an encrypted bit stream based on the encryption matrix; embedding the encrypted bit stream into the image steganographic region to obtain an encrypted steganographic image;
[0092] In this embodiment, data blocks in the encryption matrix are extracted one by one based on the encryption matrix, and binary conversion is performed on the data blocks to obtain a bit stream. The encrypted bit stream is embedded into the stego area of the image using image steganography technology, such as LSB (least significant bit) replacement, DCT (discrete cosine transform) domain embedding and other methods. The stego area of the image is the noise uniform area of the high noise bit plane identified in step S4. According to the embedding algorithm and the characteristics of the stego area, the encrypted bit stream is embedded into the corresponding pixels of the image one by one to achieve stego embedding of the image. For the LSB replacement method, each bit of the encrypted bit stream is replaced by the least significant bit of the pixel in the stego area.
[0093] Step S6: obtaining a smoothed stego image based on the encrypted stego image; optimizing the visual distortion frequency of the random original image based on the smoothed stego image to obtain a visually optimized encrypted stego image; and outputting the visually optimized encrypted stego image as data to obtain a text message encryption result.
[0094] In this embodiment, the encrypted steganographic image is smoothed to reduce the noise and distortion introduced in the process of steganalysis embedding. The encrypted steganographic image is smoothed using an image filter (such as mean filtering and Gaussian filtering). The smoothing operation helps to improve the visual quality and reduce the visible embedding traces. The random original image is optimized for visual distortion frequency using image processing techniques, such as frequency domain transformation (such as discrete cosine transform) and frequency masking. The goal of frequency optimization is to enhance the robustness and concealment of the embedded stego information while maintaining the visual quality of the image. By adjusting specific frequency components in the frequency domain or masking the frequency domain, the visual distortion is reduced and the protection of the stego information is improved. The image after visual distortion frequency optimization is output as the final encrypted steganographic image. The visually optimized encrypted steganographic image hides the encrypted data and stego information while maintaining good visual quality. This encrypted steganographic image can be used for transmission or storage as a text message encryption result.
[0095] In this embodiment, refer to Figure 2 , is a flowchart of detailed implementation steps of step S1. In this embodiment, the detailed implementation steps of step S1 include:
[0096] Step S11: Obtain the SMS to be encrypted;
[0097] Step S12: performing information sensitivity analysis on the SMS to be encrypted to obtain a SMS sensitivity value;
[0098] Step S13: Calculate data entropy of the SMS to be encrypted based on the SMS sensitivity value to generate SMS entropy;
[0099] Step S14: segmenting the SMS to be encrypted based on the SMS entropy to obtain segmented information to be encrypted.
[0100] In this embodiment, it is necessary to obtain the text of the SMS to be encrypted as input. The SMS is input by the user, read from a database or obtained from other data sources. Natural language processing (NLP) technology, such as sentiment analysis, keyword extraction and other methods, is used to process the SMS text. By analyzing the sentiment, keywords, context and the like in the text, the sensitivity value of the SMS is calculated. The sensitivity value is represented by a numerical value, which indicates the sensitivity of the SMS. For example, a high sensitivity value indicates that the content of the SMS is more sensitive. Data entropy is calculated, and data entropy is calculated for the SMS to be encrypted based on the sensitivity value. The data entropy is calculated using the entropy formula in information theory. The data is calculated according to different encoding methods and statistical models. The data segmentation strategy is determined according to the entropy value, such as segmentation according to a fixed length or adaptive segmentation according to the change of the entropy value. The SMS text to be encrypted is segmented according to the determined strategy to generate multiple smaller segment information. Each segment information is used as a separate data unit for subsequent encryption and processing.
[0101] In this embodiment, refer to Figure 3 , is a flowchart of detailed implementation steps of step S2. In this embodiment, the detailed implementation steps of step S2 include:
[0102] Step S21: obtaining multiple symmetric encryption keys based on the segment information to be encrypted;
[0103] Step S22: performing hash coding on the segment information to be encrypted to obtain a segment information hash code;
[0104] Step S23: serializing the hash codes of the segment information to obtain a hash code matrix;
[0105] Step S24: using multiple symmetric encryption keys to perform data encryption processing on the hash coding matrix to generate an encryption matrix.
[0106] In this embodiment, according to the number of segmented information to be encrypted, a pseudo-random number generator is used to generate a corresponding number of symmetric encryption keys, ensuring that the generated keys have sufficient length and randomness to provide high-intensity security, and selecting an appropriate hash function, such as SHA-256, MD5, etc., according to security and performance requirements. The selected hash function is applied to each segmented information to be encrypted to generate a corresponding hash code, and the hash code of each segmented information is arranged according to a predetermined rule to form a matrix. The matrix is represented as a one-dimensional array by serialization processing, or other forms of data structures are used to facilitate subsequent processing. For each element in the hash code matrix, an encryption operation is performed using a corresponding symmetric encryption key. Using a common symmetric encryption algorithm, such as AES (Advanced Encryption Standard), the hash code of each segmented information is encrypted using a corresponding key to ensure that the encryption process of each segmented information is independent of each other, and the encrypted data is organized according to a corresponding structure (such as a matrix) to form an encryption matrix.
[0107] In this embodiment, refer to Figure 4 , is a flowchart of detailed implementation steps of step S3. In this embodiment, the detailed implementation steps of step S3 include:
[0108] Step S31: Obtain a random original image;
[0109] Step S32: performing grayscale channel decomposition on the random original image to generate image color channels;
[0110] Step S33: performing histogram grayscale distribution calculation on the image color channel to generate image pixel value distribution data;
[0111] Step S34: performing texture fluctuation analysis on the random original image based on the image pixel value distribution data to generate image texture fluctuation data;
[0112] Step S35: performing edge color difference analysis on the random original image to obtain edge area color distribution characteristics;
[0113] Step S36: performing bit plane structure analysis based on the image texture fluctuation data and the edge area color distribution characteristics, thereby obtaining image bit plane structure data.
[0114] In this embodiment, a random original image is obtained, the random original image is converted into a grayscale image, the RGB channels of the color image are merged into a grayscale channel, the grayscale image is channel-decomposed to obtain different image color channels, such as a red channel, a green channel, and a blue channel, for each image color channel, a histogram of its pixel values is calculated, the number of occurrences of each pixel value is counted, the histogram data of each image color channel is organized into pixel value-frequency distribution data, the image pixel value distribution data is used to calculate the image texture features, such as texture energy, texture entropy, etc., the image texture fluctuation data is extracted using a suitable texture analysis method, such as a local binary pattern (LBP), a gray level co-occurrence matrix (GLCM), etc., the random original image is edge detected using an edge detection algorithm (such as Canny, Sobel, etc.), the image edge information is extracted, the color distribution features of the extracted edge area, such as a color mean, a color variance, etc., the image texture fluctuation data and the color distribution features of the edge area are combined, the image texture fluctuation data is extracted from the image according to a bit plane structure analysis method, such as a wavelet transform, a pixel contrast, etc., to reveal the details and structural features of the image.
[0115] In this embodiment, the specific steps of step S35 are:
[0116] Perform edge region detection on random original images to extract image edge regions;
[0117] Performing color difference analysis on the edge area of the image based on the image pixel value distribution data to obtain the color difference of the edge area;
[0118] The color space distribution analysis is performed based on the color difference of the edge area to generate the color distribution characteristics of the edge area.
[0119] In this embodiment, the random original image is converted into a grayscale image to simplify the processing process. A suitable edge detection algorithm, such as the Canny edge detection algorithm or the Sobel operator, is used to perform edge detection on the grayscale image. These algorithms can identify edge information in the image. The result of the edge detection will be a binary image, in which white pixels represent edges and black pixels represent non-edges. According to the pixel value distribution data of the image, color statistical information of the edge area, such as color mean, color variance, etc., is calculated. These statistical information reflects the color characteristics of the edge area. For the extracted edge area, the color difference of the pixels inside the edge area is calculated. Various color difference calculation methods, such as the Euclidean distance and the Bhattacharyya distance, are used to measure the color difference of the pixels in the edge area. The edge area of the image is divided into several sub-areas, which are implemented by grid division or other segmentation methods. For each sub-area, the color distribution information of the pixels inside the sub-area is calculated. The number or frequency of pixels on each color channel is counted by using methods such as histograms. The color distribution information of each sub-area is organized into a feature vector, which contains the distribution of the sub-area in the color space. The feature vectors of all sub-areas are combined to form the color distribution characteristics of the entire edge area.
[0120] In this embodiment, step S4 includes the following steps:
[0121] Step S41: performing bit plane characteristic analysis on the random original image based on the image bit plane structure data to obtain the image bit plane characteristics;
[0122] Step S42: identifying high noise bit planes based on the image bit plane characteristics to obtain high noise bit planes;
[0123] Step S43: performing noise distribution analysis on the high noise bit plane to generate bit plane noise distribution data;
[0124] Step S44: Based on the bit plane noise distribution data, the noise uniform area of the random original image is identified to obtain the image steganographic area.
[0125] In this embodiment, the grayscale image is decomposed into bit planes, and the grayscale value of each pixel is represented as 8 bits (0 to 255). In this way, each bit plane represents a bit position (0 or 1) in the image. Each bit plane is analyzed, and statistical information such as pixel distribution, mean, variance, etc. of each bit plane is calculated. These statistical information reflects the bit plane characteristics of the image, such as the distribution of 0 and 1 in each bit plane. According to the result of the bit plane characteristic analysis, a suitable indicator or threshold is selected to judge the noise level of the bit plane. For example, the mean, variance or other statistical characteristics of the pixel distribution are used as evaluation indicators, and the noise evaluation indicator is applied to each bit plane. The bit planes with noise levels higher than the threshold are identified as high-noise bit planes. These high-noise bit planes are interfered by noise. The more, the more random information or hidden information is contained. The pixel value distribution analysis is performed on the high-noise bit plane, and the frequency or probability distribution of each pixel value is counted, which will reflect the distribution of noise in the bit plane. The distribution of bit plane noise is represented by methods such as histograms or probability density functions. These distribution data will be used for subsequent noise uniform area identification. Each bit plane of the random original image is compared with the corresponding bit plane noise distribution data. The correlation index, distance measurement or other similarity measurement is used to evaluate the similarity between the bit plane and the noise distribution data. According to the similarity evaluation result, the bit planes with a similarity to the noise distribution data higher than a threshold are identified as noise uniform areas. These noise uniform areas contain stego information because they are similar to the distribution characteristics of noise.
[0126] In this embodiment, step S5 includes the following steps:
[0127] Step S51: uniformly adjusting the color components of the image steganographic area to obtain a steganographic area with uniform components;
[0128] Step S52: performing binary quantization encoding on the encryption matrix to obtain an encrypted bit stream;
[0129] Step S53: embed the encrypted bit stream into the uniform steganographic area to obtain an encrypted steganographic image.
[0130] In this embodiment, a method such as histogram equalization is used to enhance the contrast and distribution uniformity of an image, a color space conversion (such as RGB to YUV) is used, and then the brightness (Y) component is equalized, and then the adjusted component value is converted back to the original color space, and each element in the encryption matrix is binary quantized and encoded, and each element is converted into a string of binary bits. Using a fixed encoding rule, each element is mapped into a binary sequence of a fixed length, and the pixel value in the component uniform steganographic area is embedded with the encrypted bit stream. The bit is embedded into the lowest bit of the pixel value by replacing the least significant bit (LSB), and the embedding step is repeated until all the encrypted bit streams are embedded in the component uniform steganographic area, and the component uniform steganographic area embedded with the encrypted information is merged with other parts of the original image to form an encrypted steganographic image.
[0131] In this embodiment, the specific steps of step S53 are:
[0132] Performing texture intensity feature analysis on the component uniform steganographic region to obtain texture intensity feature data;
[0133] Calculate the bitstream embedding peak value based on the texture intensity feature data to obtain the bitstream embedding peak value in the region;
[0134] Perform distributed dynamic embedding analysis on the encrypted bitstream based on the bitstream embedding peak value in the region and generate a bitstream embedding dynamic strategy;
[0135] Based on the bitstream embedding dynamic strategy, the image is steganographically embedded in the component uniform steganographic area to obtain an encrypted steganographic image.
[0136] In this embodiment, texture analysis is performed on the extracted pixel values to calculate texture intensity features. Common texture analysis methods, such as local binary pattern (LBP) and gray level co-occurrence matrix (GLCM), are used. For each pixel, texture features of its surrounding neighborhood, such as texture intensity and texture direction, are calculated. The embedding peak value of the component uniform steganographic area is calculated using the texture intensity feature data. For each pixel, the bitstream embedding peak value is calculated according to its corresponding texture intensity feature. A mapping function is defined to map the texture intensity to the bitstream embedding peak value. The embedding peak value indicates the number of bitstreams that the pixel can accommodate during the embedding process. The encrypted bitstream and the bitstream embedding peak value data are prepared. According to the bitstream embedding peak value data, the encrypted bitstream is distributed. Dynamic embedding analysis, according to the size and distribution of the bitstream embedding peak, determines the number of bitstreams that can be embedded in each pixel, generates a bitstream embedding dynamic strategy, that is, the bitstream embedding number and position information corresponding to each pixel, and saves the bitstream embedding dynamic strategy for subsequent image steganographic embedding. According to the bitstream embedding dynamic strategy, the encrypted bitstream is embedded in the component uniform steganographic area. According to the embedding number and position information corresponding to each pixel, the encrypted bitstream is embedded into the pixel value pixel by pixel to ensure that the embedding process does not exceed the range allowed by the bitstream embedding peak to maintain the quality and security of the image. The component uniform steganographic area embedded with encrypted information is merged with other parts of the original image to form an encrypted steganographic image.
[0137] In this embodiment, the specific steps of step S6 are:
[0138] Step S61: performing edge filtering and smoothing on the encrypted stego-image to obtain a smooth stego-image;
[0139] Step S62: performing visual distortion analysis on the random original image based on the smoothed stego image to obtain visual distortion data;
[0140] Step S63: optimizing the visual distortion frequency of the smoothed steganographic image by using the visual distortion data to obtain a visually optimized encrypted steganographic image;
[0141] Step S64: Output the visually optimized encrypted steganographic image as data to obtain a text message encryption result.
[0142] In this embodiment, an encrypted steganographic image is prepared as an input, and an edge filtering and smoothing process is performed on the input image. The edge filtering and smoothing method uses common filters, such as Gaussian filters or mean filters, which reduce noise and high-frequency details in the image, thereby obtaining a smooth image. A pixel-level difference analysis is performed on the smoothed original image and the smoothed steganographic image, and the difference value at each pixel position is calculated to indicate the degree of distortion between the images. The degree of distortion is quantified using evaluation indicators such as mean square error (MSE) or structural similarity index (SSIM), and visual distortion data is obtained to indicate the degree of visual distortion between the smoothed steganographic image and the random original image. Based on the visual distortion data, the visual distortion frequency of the smoothed steganographic image is optimized. Based on the analysis results of the distortion data, the image frequency components that need to be enhanced or weakened are determined, and a frequency domain image processing method, such as Fourier transform, is used to enhance or suppress the image in the frequency domain. The visually optimized encrypted steganographic image is used as the final output result, and the output image is used as the SMS encryption result, in which the encrypted information is hidden and smoothing and visual optimization processes are performed to improve the quality and security of the steganographic image.
[0143] In this embodiment, a short message encryption processing system based on information security is provided, which is used to execute the short message encryption processing method based on information security as described above, including:
[0144] The data segmentation module is used to obtain the SMS to be encrypted; generate the SMS entropy to be encrypted based on the SMS to be encrypted; and segment the SMS to be encrypted based on the SMS entropy to be encrypted, thereby obtaining the segment information to be encrypted;
[0145] A data encryption module is used to obtain multiple symmetric encryption keys based on the segmented information to be encrypted; use the multiple symmetric encryption keys to perform data encryption processing on the segmented information to be encrypted to generate an encryption matrix;
[0146] The color distribution module is used to obtain the original image; generate image texture fluctuation data based on the random original image; perform edge color difference analysis on the random original image to obtain color distribution characteristics of the edge area; obtain image bit plane structure data based on the image texture fluctuation data and edge color difference data;
[0147] A high noise bit plane recognition module is used to perform high noise bit plane recognition on a random original image based on the image bit plane structure data to obtain a high noise bit plane; and perform noise uniform area recognition on the high noise bit plane to obtain an image steganographic area;
[0148] The image steganography module is used to obtain an encrypted bit stream based on the encryption matrix; the encrypted bit stream is embedded in the image steganography area to obtain an encrypted steganographic image;
[0149] The visual distortion optimization module is used to obtain a smoothed stego image based on the encrypted stego image; optimize the visual distortion frequency of the random original image based on the smoothed stego image to obtain a visually optimized encrypted stego image; and output the visually optimized encrypted stego image as data to obtain a text message encryption result.
[0150] The present invention obtains the text message to be encrypted through the data segmentation module and generates the entropy of the text message to be encrypted. By segmenting the text message to be encrypted, the long text is divided into multiple smaller parts, which is convenient for subsequent data encryption processing. The entropy of the text message to be encrypted is used to evaluate the information volume and complexity of the text message to be encrypted. The data encryption module generates multiple symmetric encryption keys, and uses these keys to perform data encryption processing on the encrypted segmented information, thereby generating an encryption matrix. By generating multiple symmetric encryption keys, the security of encryption is increased. The encrypted segmented information is encrypted and the original data is converted into an encrypted form to ensure the confidentiality and confidentiality of the information during transmission and storage. The color distribution module obtains the original image and analyzes the color distribution characteristics of the edge area. By obtaining the original image, the basic information and color distribution of the image are obtained. The color distribution characteristics of the edge area are analyzed for the subsequent generation of image bit plane structure data. The high-noise bit plane recognition module High-noise bit planes are identified on random original images to determine the high-noise bit planes in the image. By identifying the high-noise bit planes, areas with more noise in the image are found. These areas are often suitable for hiding encrypted information. The image steganography module generates an encrypted bit stream based on the encryption matrix, and embeds the encrypted bit stream into the stego area of the image to obtain an encrypted steganographic image. By embedding the encrypted bit stream into the stego area, the encrypted information is hidden in the image, increasing the security and concealment of the information. The visual distortion optimization module obtains a visually optimized encrypted steganographic image by smoothing the encrypted steganographic image and optimizing the visual distortion frequency. Smoothing reduces noise and sharp edges in the image and improves the visual quality of the image. The visual distortion frequency optimization optimizes the image by analyzing the distortion data to reduce the impact of distortion on visual perception. The final visually optimized encrypted steganographic image is visually closer to the original image and has better visual quality.
[0151] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0152] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A SMS encryption processing method based on information security, It is characterized in that The following steps are involved: Step S1: Obtain the SMS to be encrypted; Generate entropy of the SMS to be encrypted based on the SMS to be encrypted; Segment the encrypted SMS data based on the SMS entropy to obtain encrypted segment information; Step S2: obtaining a plurality of symmetric encryption keys based on the segmented information to be encrypted; performing data encryption processing on the segmented information to be encrypted using the plurality of symmetric encryption keys to generate an encryption matrix; Step S3: obtaining a random original image; generating image texture fluctuation data based on the random original image; performing edge color difference analysis on the random original image to obtain edge area color distribution characteristics; obtaining image bit plane structure data based on the image texture fluctuation data and the edge area color distribution characteristics; Step S4: identifying high-noise bit planes of the random original image based on the image bit plane structure data to obtain high-noise bit planes; Identify the noise uniform area of the high noise bit plane to obtain the image steganographic area; Step S5: obtaining an encrypted bit stream based on the encryption matrix; embedding the encrypted bit stream into the image steganographic region to obtain an encrypted steganographic image; Step S6: obtaining a smoothed stego image based on the encrypted stego image; optimizing the visual distortion frequency of the random original image based on the smoothed stego image to obtain a visually optimized encrypted stego image; The visually optimized encrypted steganographic image is output as data to obtain the SMS encryption result.
2. The SMS encryption processing method based on information security according to claim 1, It is characterized in that The specific steps of step S1 are: Step S11: Obtain the SMS to be encrypted; Step S12: performing information sensitivity analysis on the SMS to be encrypted to obtain a SMS sensitivity value; Step S13: Calculate data entropy of the SMS to be encrypted based on the SMS sensitivity value to generate SMS entropy; Step S14: segmenting the SMS to be encrypted based on the SMS entropy to obtain segmented information to be encrypted.
3. The SMS encryption processing method based on information security according to claim 1, It is characterized in that The specific steps of step S2 are: Step S21: obtaining multiple symmetric encryption keys based on the segment information to be encrypted; Step S22: performing hash coding on the segment information to be encrypted to obtain a segment information hash code; Step S23: serializing the hash codes of the segment information to obtain a hash code matrix; Step S24: using multiple symmetric encryption keys to perform data encryption processing on the hash coding matrix to generate an encryption matrix.
4. The SMS encryption processing method based on information security according to claim 1, It is characterized in that The specific steps of step S3 are: Step S31: Obtain a random original image; Step S32: performing grayscale channel decomposition on the random original image to generate image color channels; Step S33: performing histogram grayscale distribution calculation on the image color channel to generate image pixel value distribution data; Step S34: performing texture fluctuation analysis on the random original image based on the image pixel value distribution data to generate image texture fluctuation data; Step S35: performing edge color difference analysis on the random original image to obtain edge area color distribution characteristics; Step S36: performing bit plane structure analysis based on the image texture fluctuation data and the edge area color distribution characteristics, thereby obtaining image bit plane structure data.
5. The SMS encryption processing method based on information security according to claim 4, It is characterized in that The specific steps of step S35 are: Perform edge region detection on random original images to extract image edge regions; Performing color difference analysis on the edge area of the image based on the image pixel value distribution data to obtain the color difference of the edge area; The color space distribution analysis is performed based on the color difference of the edge area to generate the color distribution characteristics of the edge area.
6. The SMS encryption processing method based on information security according to claim 1, It is characterized in that The specific steps of step S4 are: Step S41: performing bit plane characteristic analysis on the random original image based on the image bit plane structure data to obtain the image bit plane characteristics; Step S42: identifying high noise bit planes based on the image bit plane characteristics to obtain high noise bit planes; Step S43: performing noise distribution analysis on the high noise bit plane to generate bit plane noise distribution data; Step S44: Based on the bit plane noise distribution data, the noise uniform area of the random original image is identified to obtain the image steganographic area.
7. The SMS encryption processing method based on information security according to claim 1, It is characterized in that The specific steps of step S5 are: Step S51: uniformly adjusting the color components of the image steganographic area to obtain a steganographic area with uniform components; Step S52: performing binary quantization encoding on the encryption matrix to obtain an encrypted bit stream; Step S53: embed the encrypted bit stream into the uniform steganographic area to obtain an encrypted steganographic image.
8. The SMS encryption processing method based on information security according to claim 7, It is characterized in that The specific steps of step S53 are: Performing texture intensity feature analysis on the component uniform steganographic region to obtain texture intensity feature data; Calculate the bitstream embedding peak value based on the texture intensity feature data to obtain the bitstream embedding peak value in the region; Perform distributed dynamic embedding analysis on the encrypted bitstream based on the bitstream embedding peak value in the region and generate a bitstream embedding dynamic strategy; Based on the bitstream embedding dynamic strategy, the image is steganographically embedded in the component uniform steganographic area to obtain an encrypted steganographic image.
9. The SMS encryption processing method based on information security according to claim 1, It is characterized in that The specific steps of step S6 are: Step S61: performing edge filtering and smoothing on the encrypted stego-image to obtain a smooth stego-image; Step S62: performing visual distortion analysis on the random original image based on the smoothed stego image to obtain visual distortion data; Step S63: optimizing the visual distortion frequency of the smoothed steganographic image by using the visual distortion data to obtain a visually optimized encrypted steganographic image; Step S64: Output the visually optimized encrypted steganographic image as data to obtain a text message encryption result.
10. A SMS encryption processing system based on information security, It is characterized in that include: Data segmentation module, used to obtain the SMS to be encrypted; Generate entropy of the SMS to be encrypted based on the SMS to be encrypted; Segment the encrypted SMS data based on the SMS entropy to obtain encrypted segment information; A data encryption module is used to obtain multiple symmetric encryption keys based on the segmented information to be encrypted; use the multiple symmetric encryption keys to perform data encryption processing on the segmented information to be encrypted to generate an encryption matrix; The color distribution module is used to obtain the original image; generate image texture fluctuation data based on the random original image; perform edge color difference analysis on the random original image to obtain the color distribution characteristics of the edge area; obtain image bit plane structure data based on the image texture fluctuation data and the color distribution characteristics of the edge area; A high noise bit plane recognition module is used to recognize high noise bit planes of a random original image based on image bit plane structure data to obtain high noise bit planes; Identify the noise uniform area of the high noise bit plane to obtain the image steganographic area; The image steganography module is used to obtain an encrypted bit stream based on the encryption matrix; the encrypted bit stream is embedded in the image steganography area to obtain an encrypted steganographic image; A visual distortion optimization module is used to obtain a smoothed stego image based on the encrypted stego image; based on the smoothed stego image, visual distortion frequency optimization is performed on the random original image to obtain a visually optimized encrypted stego image; The visually optimized encrypted steganographic image is output as data to obtain the SMS encryption result.
