2025 Volume 34 Issue 3
Article Contents

Zhitang Han, Yinghong Cao, Santo Banerjee, Jun Mou. Hybrid image encryption scheme based on hyperchaotic map with spherical attractors[J]. Chinese Physics B, 2025, 34(3): 030503. doi: 10.1088/1674-1056/ada7db
Citation: Zhitang Han, Yinghong Cao, Santo Banerjee, Jun Mou. Hybrid image encryption scheme based on hyperchaotic map with spherical attractors[J]. Chinese Physics B, 2025, 34(3): 030503. doi: 10.1088/1674-1056/ada7db

Hybrid image encryption scheme based on hyperchaotic map with spherical attractors

  • Received Date: 01/12/2024
    Accepted Date: 19/12/2024
    Available Online: 01/03/2025
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(14)  /  Tables(6)

Article Metrics

Article views(202) PDF downloads(2) Cited by(0)

Access History

Hybrid image encryption scheme based on hyperchaotic map with spherical attractors

Abstract: Existing chaotic encryption schemes primarily focus on single types of images, making the design of hybrid image encryption schemes more suitable for practical applications. In this paper, a hyperchaotic map with a spherical attractor is proposed, which is constructed using spherical coordinates. Dynamical analyses reveal that the hyperchaotic map exhibits global hyperchaos and high complexity, making it capable of generating more complex chaotic sequences suitable for image encryption. A hybrid encryption scheme based on a hyperchaotic map is proposed for two-dimensional (2D) images, three-dimensional (3D) models, and 3D point clouds. Firstly, the pixels of 2D image and the coordinate data of 3D image are fused into a plaintext cube, which is combined with Hash-512 to obtain the initial value of the hyperchaotic map. Chaotic sequences are utilized for cube space internal confusion and dynamic cross-diffusion. The encrypted images demonstrate high information entropy, and the test results show that the encryption scheme effectively protects the images. The proposed hybrid image encryption scheme provides an efficient solution for securing various types of images.

1.   Introduction
  • Advancements in information technology have positioned image data as a crucial component in information exchange, owing to its powerful visual presentation ability.[1,2] Among them, two-dimensional (2D) images mainly express flat information, three-dimensional (3D) models can provide 3D information and 3D point clouds can show high-precision point information.[3] Due to the above characteristics, 2D images, 3D models and 3D point clouds are prevalent across a variety of fields, such as medical images,[4–6] remote sensing images,[7–9] engineering models,[10] laser scanning,[11] and so on.[12] Due to the involvement of personal privacy, commercial secrets, and military intelligence, image data are vulnerable to unauthorized access and leakage during transmission over the network,[13–15] so it is important to encrypt the data before transmission.

    The emergence of chaotic systems has brought new ideas for image encryption.[16–18] Chaotic systems are suitable for cryptography due to their pseudorandom, sensitivity to initial conditions and unpredictability.[19–22] Since Robert combined chaos and image encryption in 1989, chaotic image encryption has emerged as a novel research topic.[23] A significant number of image encryption schemes have been proposed based on low-dimensional chaotic systems.[24–27] However, with the improvement of mathematical theories and the limitation of computer accuracy, the simple chaotic orbits and small key space of low-dimensional chaotic systems bring hidden dangers to the encryption schemes.[28–30] The hyperchaotic system solves this drawback of low-dimensional chaotic systems due to its stronger chaotic properties and better resistance to degradation.[30–32] Therefore, the construction of hyperchaotic systems with higher complexity and higher Lyapunov exponent is favorable for the development of chaotic image encryption. This paper constructs a hyperchaotic map with spherical attractors based on the spherical coordinate, with verification conducted on the DSP. The hyperchaotic map exhibits global hyperchaos and high complexity, and the complex dynamical properties make the encryption process more unpredictable and reduce the risk of information leakage.

    Due to the rapid growth of 3D technology, 3D images are widely used in diverse fields, and researchers are also working on encrypting 3D images with sensitive information.[33–35] Gao et al. used the chaotic system and semi-tensor product theory for 3D model encryption. Encrypting the integer and fractional parts of the model increases the time cost, although encrypting twice brings higher security.[36] Xian et al. proposed an iterative method for vectors of fractal characteristics and implemented simultaneous confusion–diffusion encryption. The test results demonstrate the scheme has good encryption effect.[37] Zhao et al. encrypted 3D models based on the chaotic system and XOR permutation, and the scheme not only has low time cost but also achieves hierarchical decryption.[38] However, existing encryption techniques mainly focus on a single type of image, making it difficult to effectively protect hybrid images.[39,40]

    To meet the needs of practical applications, the encryption scheme for hybrid image is proposed based on the constructed hyperchaotic system. Firstly, the relevant data of images are fused into the plaintext cube, and the plaintext cube is confusion by combining chaotic sequences and cube space internal confusion. Dynamic cross-diffusion is used next, the modulo operation is applied to even faces and the XOR operation is applied to odd faces. The results demonstrate that the proposed encryption scheme is effective in safeguarding the hybrid image. The following are the main contributions of this paper:

    (I) The 3D hyperchaotic map with spherical attractors is constructed.

    (II) Dynamical analyses show that the hyperchaotic map exhibits global hyperchaos and high complexity.

    (III) The hybrid image encryption scheme is proposed for 2D images, 3D models, and 3D point clouds.

    (IV) Testing shows encryption scheme effectively protects information in the hybrid image.

2.   Chaotic map with spherical attractors
  • A hyperchaotic map is proposed based on the spherical coordinate and dynamical analysis and digital circuit implementation are carried out.

  • Spherical coordinates are one type of coordinate system for locating points in three-dimensional space as shown in Fig. 1. r is the length of OP, θ is the angle between OP and the positive direction of the z-axis, and φ is the angle between the projection of OP on the x–y plane and the positive direction of the x-axis. The spherical coordinate (r, θ, φ) can be converted to the rectangular coordinate by the following equation:

    To obtain chaotic sequences between −r and r, therefore multiply sin(c/x) in each term of Eq. (1). And replace θ with aπy and φ with bπz, thus constructing a chaotic map with spherical attractor as follows:

    where a, b, c as parameters and r as the radius can control the size of the spherical attractor. The chaotic attractors obtained when the initial value is (1, 1, 1) and the parameters a = 10, b = 5, c = 1 are a sphere of radius r as shown in Fig. 2.

  • With the help of LEs and bifurcation diagrams, it is possible to quantitatively evaluate the chaotic properties and the variation of the system state concerning the parameters. The system is chaotic if it has one LE greater than 0, and hyperchaotic if it has two or more LEs greater than 0. Keeping the initial values constant, the LEs and bifurcation diagrams of the hyperchaotic map with respect to its four parameters are shown in Fig. 3.

    The existence of three positive LEs for the map, when all the parameters are varied within the chosen range, means that it has the property of global hyperchaos. The parameters are more flexible when the map is applied to image encryption. In Fig. 3, LE1 is generally larger and increases with increasing parameters, indicating that the two neighboring chaotic orbits of the system separate faster, implying that the system has stronger chaotic properties. The bifurcation diagram in Fig. 3(d) shows that the parameter r can control the range of chaotic sequences well, which can provide more options for engineering applications.

  • Spectral entropy (SE) complexity is used to quantify the complexity of the chaotic sequence.[41] When SE is larger it means that the system is more complex and the generated sequence is closer to the random sequence. Keeping the initial values (1, 1, 1), the SE about parameters a and b when parameter c = 5, r = 5 is shown in Fig. 4(a), and the analysis shows that the SE is between 0.9463 and 0.9537, its mean value is 0.9504. Similarly, the SE with respect to parameters a and c when parameter b = 5, r = 1 is shown in Fig. 4(b), where the SE was between 0.9466 and 0.9538, the mean value is 0.9503. As a whole the SE values are large within fixed range of parameters and the corresponding chaotic sequences can satisfy the randomness requirements of image encryption.

  • Hyperchaotic systems can be used in the signal processing field to generate pseudorandom signals due to their highly unstable and complex dynamical properties. TMS320F28335 is chosen as the main chip. The maximum operating frequency is up to 150 MHz, providing efficient data processing capability. The verification process is shown in Fig. 5, where the digital signals processed by the chip are processed into analog signals by the DA converter (DAC8552), and the final result is output by oscilloscope. The hyperchaotic map is successfully implemented on digital circuit and provides the reference for practical applications.

  • The security of an encryption algorithm relies not only on the algorithm itself but also on the quality of the random sequence used for encryption. The effectiveness and reliability of chaotic sequences in practical applications are demonstrated by performing NIST tests on them. A chaotic sequence of length 18 millions is generated using the parameters r = 3, a = 10, b = 5, c = 1, and initial values (1, 1, 1). The corresponding binary data serves as the test sample. The results, presented in Table 1, show that all parameters satisfy the criteria of P-value ≥ 0.01 and pass rate T ≥ 0.9628, confirming that the chaotic sequence can be used for image encryption.

3.   Encryption and decryption scheme
  • Hybrid image encryption improves image management, and data security. In this section, an encryption scheme for 2D images, 3D models, and 3D point clouds are proposed.

  • The encryption scheme first preprocesses different types of image data and fuses them into a vector then encrypts the resulting vector. The encryption flowchart is shown in Fig. 6. The detailed process outlined below.

    Step 1 The 3D model and 3D point cloud are recorded in coordinates, so the coordinate data is first converted to [0, 255], which is consistent with the pixel values of the 2D image.

    Step 2 All coordinate data and pixel data are fused into a vector of length b, which is converted into cube Am × n × h (m is the length of A, n is the width of A, and h is the height of A. m = 256, n = 256, h = ceil (b/(mn))).

    Step 3A is used as an input to Hash-512 where the resulting Hash sequence can be used for obtaining the initial value of the hyperchaotic map.

    Step 4 The chaotic sequence used for encryption becomes the pseudorandom integer.

    where mod(⋅) is a modulo operation and floor(⋅) is a downward rounding operation.

    Step 5 (Cube space internal confusion) Find a random point in A using the chaotic sequence x, y, z, and swap it with the current value. Two points were chosen as examples as shown in Fig. 7. Swapping the value in coordinates (1, 1, 1) in A with the value in coordinates (2, 1, 3), the next step is to swap the value in (2, 1, 1) with (4, 1, 2). The same operation is done for each point in A as shown in Eq. (4).

    where t1 = [1 : m], t2 = [1 : n], t3 = [1 : h], and P is the variable that stores the current value of A.

    Step 6 (Dynamic cross-diffusion) Modulo operation is applied to even faces as shown in Eq. (5) and the XOR operation is applied to odd faces as shown in Eq. (6), and the ciphertext cube B is obtained after the diffusion process is completed.

    where u is the pseudorandom sequence for diffusion obtained by u = (x + y + z)/3.

    Step 7 Segmenting the ciphertext cube B into corresponding individual ciphertext images based on the recorded image size.

  • Decryption is reverting the encrypted data to the original data, matching the encryption process. The original pseudorandom sequence is obtained by inputting parameter values and initial values. The cube B is reduced to cube A by inverse diffusion and inverse confusion, and then A is segmented into individual images according to the size. Figure 8 is the corresponding decryption flowchart.

  • To test the encryption scheme, two 2D images, two 3D models, and two 3D point clouds are inputted. These are “5.1.14”, “airplane”, “hummer”, “banana”, “chair”, and “skull” are shown in Figs. 9(a)–9(f). The data are fused into the cube A as shown in Fig. 9(g). Confusion and diffusion are applied to cube A to obtain the ciphertext cube B, which is segmented into individual images as in Fig. 10(a). The decrypted image is Fig. 10(b). The simulation results indicate that the encryption scheme effectively conceals the information contained in the images.

4.   Security analysis
  • It is important for an encryption scheme to have the ability to prevent brute force attacks. The difficulty of breaking it by brute force increases with a larger key space. In general, encryption schemes with a key space of more than 2100 are considered to be effective against brute force attacks.[42] The key space of the scheme consists of three initial values and four parameters of the hyperchaotic map. The key space is calculated by slightly changing each key based on whether the image can be successfully reverted or not. The total key space shown in Table 2 is 2358. It takes a lot of time and strong arithmetic power to brute force break this encryption algorithm. Table 3 presents other encryption schemes, revealing that this scheme has a larger key space in comparison.

  • Key sensitivity refers to the effect of key changes on the cipher image. In encryption schemes characterized by high key sensitivity, even a minor alteration in the key can result in a considerable change in the cipher image, making the key more difficult to crack. Keeping the remainder of keys unchanged, add 10−15 to key c. The cipher images obtained by inputting keys c and c + 10−15 are denoted as F1 and F2, respectively. The image “airplane”, as an example, is shown in Fig. 11. The difference between cipher images is measured by F = |F1 − F2|. F was calculated for “5.1.14”, “airplane”, “hummer”, “banana”, “chair”, and “skull”. The histogram of F is displayed in Fig. 12, with fewer zeros indicating that F1 and F2 differ from each other and that the encryption scheme has higher key sensitivity.

  • Information entropy (IE) serves as a measure of the uncertainty associated with a random variable. The larger IE in an image means fewer visual cues. Comparing the IE of the original image and the cipher image provides a method for evaluating the security. When calculating the IE, the data corresponding to all images are processed between [0, 255], and the maximum value of IE is 8 from Eq. (7).[47] It can be seen from Table 4 that the IE of all the ciphertext images is closer to 8 compared to the IE of the original images, which indicates that the information of the cipher images has greater randomness. It is difficult to infer the content of the original images from the statistical features.

    where p(i) is the probability of the i occurring.

  • The pixel data of the 2D images and the coordinate data of the 3D images can be plotted in a histogram to visually determine whether they are uniformly distributed or not. The histogram of the original images shows the clear tendency of concentration in Fig. 13. From the histogram of the cipher images, it can be seen that the number of occurrences of each value is close to each other, and the histogram is more uniformly distributed. The information of the original images will not be leaked by the histogram of the cipher images.

  • Correlation reflects the relatedness of adjacent pixels/coordinates in an image. Encryption schemes focus more on correlation reduction to prevent attackers from getting the original image data. The “5.1.14” and “chair” are chosen as test objects. The adjacent pixels/coordinates are tested as displayed in Fig. 14. The adjacent pixels/coordinates of the original images are very dense around the line with slope 1 as shown in Figs. 14(a) and 14(c), showing the strong correlation. The adjacent pixels/coordinates of the cipher images are randomly distributed over the whole graph as in Figs. 14(b) and 14(d). The results show that the proposed encryption scheme greatly reduces the correlation between adjacent pixels/coordinates.

  • When the plaintext is modified, trying to break the encryption scheme based on the different information of the corresponding cipher image is called differential attack. If small changes of the plain image have significant effects on the cipher image, the encryption scheme is considered to be resistant to differential attacks. The difference between both cipher images is quantified by NPCR and UACI respectively, which are typically 99.6094% and 33.4635%.[48] The test results are displayed in Table 5.

    By comparing its average value with other encryption schemes, as illustrated in Table 6, it is evident that the NPCR is higher and the UACI is closer to the theoretical value. This indicates that the differences between the two cipher images are more pronounced. The above analysis shows that it is difficult for an attacker to break the encryption scheme from a large number of different messages.

5.   Conclusion
  • In this paper, a hyperchaotic map with spherical attractors is constructed based on spherical coordinates. Dynamical analysis reveals that, when the parameters are varied within the selected range, three LEs are greater than 0. The parameter r can control the size of the chaotic attractor. In addition, it is also found that the system has global hyperchaos and high complexity, which can be used for image encryption not only with flexible parameter selection but also with enhanced security. Therefore, a hybrid encryption scheme is proposed with this chaotic system, aiming to solve the security protection problem of 2D images, 3D models, and 3D point clouds. The images are encrypted using cube space internal confusion and dynamic cross-diffusion. Statistical attacks are analyzed and the results show that the encryption scheme can well destroy the visual representation ability of the original image. The large key space and key sensitivity enable the encryption scheme to cope with exhaustive attacks. The results of the differential attack show that it is difficult for an attacker to break the encryption scheme from a large amount of differential information. This paper presents a novel and effective method for encrypting hybrid images. Future work could explore the use of varying encryption strengths for different types of images, enabling more efficient resource utilization and simplifying operations.

Figure (14)  Table (6) Reference (52)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return