Ex) Article Title, Author, Keywords
Current Optics
and Photonics
Ex) Article Title, Author, Keywords
Current Optics and Photonics 2018; 2(4): 315-323
Published online August 25, 2018 https://doi.org/10.3807/COPP.2018.2.4.315
Copyright © Optical Society of Korea.
Zhang Leihong1, Yuan Xiao1,*, Zhang Dawei1, and Chen Jian2
Corresponding author: yxhello365@163.com
A new multiple-image encryption scheme that is based on a compressive ghost imaging concept along with a Fourier transform sampling principle has been proposed. This further improves the security of the scheme. The scheme adopts a Fourier transform to sample the original multiple-image information respectively, utilizing the centrosymmetric conjugation property of the spatial spectrum of the images to obtain each Fourier coefficient in the most abundant spatial frequency band. Based on this sampling principle, the multiple images to be encrypted are grouped into a combined image, and then the compressive ghost imaging algorithm is used to improve the security, which reduces the amount of information transmission and improves the information transmission rate. Due to the presence of the compressive sensing algorithm, the scheme improves the accuracy of image reconstruction.
Keywords: Fourier transform, Compressive sensing, Ghost imaging, Multiple-image Encryption
With the rapid development of computer and Internet technologies, information security has attracted more and more researchers. Due to the ultra-high speed and multiple dimensional processing, optical information security technology has been popular for a long time, including double random phase encryption technology [1-5] and ghost imaging technology [6-10]. As another important branch of optical encryption, multiple-image encryption technology has attracted more and more attention because it not only improves the encryption ability but also reduces the data volume of the ciphertext. As far as multi-image encryption technology is concerned, it mainly focuses on researching new methods for simultaneous encryption of multiple images, to enhance the security of data and improve the robustness of the system.
Klyshko proposed a ghost imaging scheme that has attracted more and more attention owing to its remarkable physical properties [6]. Katz
In order to improve coding efficiency, the methods of multiple-image encryption based on position multiplexing and computational ghost imaging [14]; double random phase encryption [15] etc. have been proposed. Lee and Cho [15] proposed a multiple-image transmission method based on double random phase encryption using orthogonal encoding, which uses two random phase masks and orthogonal encoding. The orthogonal encoding for multiple images uses a larger Hadamard matrix than that for a single image, increasing the security of encryption. Li
In the computational ghost imaging encryption system, the spatial light modulator (SLM) that inputs a series of phase masks is used, as shown in Fig. 1,[19]. The plane wave is modulated by the phase masks and a Fresnel diffraction occurrs with a distance Z from phase masks plane to object plane. Then the light intensity distribution in the object plane could be calculated by using the Fresnel diffraction, which can be expressed as [20]
where
Therefore, the new imaging process only requires a bucket detector (BD) to obtain the ciphertext
where the
where <•> represents the average operation.
However, the ghost imaging algorithm is a statistical feature extraction process. The detection time required for imaging and the resolution time for the reconstruction algorithm are relatively long. In order to solve this problem, Donoho proposed a new reconstruction algorithm based on compressive sensing, which greatly reduced the number of exposure samplings and reduced the amount of computation. At the same time, more encrypted information can be transmitted and the amount of information transmitted is increased under the same calculation conditions. That is to say, the ghost imaging combined with the compressive sensing algorithm successfully solves the problems of long imaging time and low accuracy of object reconstruction. The specific encryption process is: the plaintext image
The matrix size is
The expression of the encryption process is:
A compressive sensing algorithm is used for decryption. The original signal can be reconstructed from these projections with high probability by solving an optimization problem. The minimum
The two-dimensional image Fourier transform is to convert the distribution of image luminance values in the spatial domain to the frequency domain distribution of the image. In this paper, the fast Fourier transform (FFT) can be used to convert the image signal from the spatial domain to the frequency domain for analysis. Using the sparseness and conjugacy of the spatial spectrum of the image, the important information of the image is obtained according to different sampling rates in the Fourier space. In this paper, four binary images are taken as an example. The spectrum and sampling are shown in Figs. 2 and 3.
The multiple-image encryption and decryption process based on the Fourier transform and compressive ghost imaging algorithm are shown in Figs. 4 and 5. The main steps are as follows:
(1) Fourier transforms are applied to the multiple images and converted from spatial domain to frequency domain;
(2) In the frequency domain, multiple images are sampled and combined to form a single ciphertext, and the formed single ciphertext is used as the plaintext image of the next encryption algorithm with ghost imaging. The matrix of the sampling image is represented in Eq. (9), where (x,y) denotes a two-dimensional matrix in the spatial domain and (u,v) denotes a two-dimensional matrix in the Fourier domain. The value of i varies from 1 to k, where k is the total number of images to be encrypted, the images are sampled by a sampling operation to obtain useful information in the images;
(3) Since the formed single ciphertext is of the characteristics of a complex-valued function, it is separated into real and imaginary parts. Then, they are transmitted and encrypted by using ghost imaging. With a random modulation signal as the key, encryption can be achieved due to the randomness of the key;
(4) The compressive sensing algorithm is used to decrypt separately the transmitted ciphertexts and combine the decrypted parts into a plural form. Therefore, the combined image is obtained. The combined image contains the reconstructed multiple images through Ω(
(5) The inverse Fourier transform is performed on the reconstructed images to obtain the original images.
In order to verify the effectiveness and feasibility of this method, a numerical experiment was carried out for this method. The experiment was mainly realized by MATLAB software. The selected experimental object is four 64 × 64 binary images. The four binary images adopt are transformed, and the transformed images are sampled according to different sampling rates; the images obtained by Fourier transform sampling are used as the plaintext images of the compressive ghost imaging algorithm. That is, the object
Feasibility refers to the situation where the recipient recovers the original graphic information by using the key shared by the sender and the ciphertext delivered on the common channel. The feasibility assessment is performed using the optical information encryption method to reconstruct the resolution of the plaintext information, which is measured using subjective judgments and objective parameters. In this section we will discuss the feasibility of the encryption method, and compare the Fourier transform and compressive ghost imaging (FFT-CGI) with the Fourier transform and ghost imaging algorithm (FFT-GI). As shown in Figs. 7 and 8.
In order to objectively and accurately evaluate the quality of the recovered images using the encryption method. The commonly used objective evaluation indicators include mean square error (MSE) and peak signal-to-noise ratio (PSNR). The basic idea is to measure the degree of deviation of the pixels of the reconstructed image from the corresponding pixels of the original image to evaluate the quality of the reconstructed image. For a size of M × N image, the mathematical expression for MSE and PSNR is:
where
The PSNR values of the two methods at different sampling rates are shown in Fig. 9.
The solid lines of different colors in the figure represent the PSNR transformation of different images under different sampling conditions in the FFT-CGI method. The dotted lines of different colors represent the PSNR transformation of different images under different sampling conditions in the FFT-GI method. The trends of the curves in Figs. 8~10 show that: (1) With the increase of the sampling rate, the PSNR value shows an upward trend, that is, the larger the number of samples, the greater the PSNR, the higher the quality of the reconstructed image, and the closer to the original image information; (2) When the sampling rate is 50%, or 70%, the reconstructed images are approximately similar; (3) When the sampling rate is 25%, the corresponding PSNR values of the FFT-CGI scheme are respectively 18.0702, 18.6568, 17.0901. The reconstructed images are close to the original images. However, the corresponding PSNR values of the FFT-GI scheme are respectively 7.1612, 7.5638, 7.6249, 7.1821. In the scheme, the original image cannot be reconstructed when the sampling rate reaches 50%. These experimental results show that the images recovered by the FFT-CGI scheme has better quality, which proves that the scheme is more effective in terms of feasibility. At the same time, it shows that the CS algorithm can achieve the characteristics of low sampling rate and high reconstruction quality.
In practical applications, an absolutely secure cryptographic system does not exist. If the cost of deciphering the algorithm is greater than the cost of the encrypted information, the algorithm can be considered secure. Therefore, we need to use existing password attack methods as far as possible to verify the anti-attack performance of the designed system. For example, selected plaintext attack, selected ciphertext attack, known plaintext attack, only ciphertext attack, noise attack and so on. This paper uses only ciphertext attack and noise attack to attack.
Ciphertext-only attacks (COA) are that attackers try to analyze the key in the intercepted ciphertext or the plaintext corresponding to the ciphertext. The ciphertext-only attack is the most difficult in all attacks. Attackers usually can guess the plaintext or key only based on the statistical characteristics of the secret text body. If a cryptosystem cannot resist ciphertext-only attacks, in theory, this cryptosystem is insecure. This paper uses the histogram and correlation between neighboring pixels in statistical analysis to count the ciphertext characteristics and to verify the security of the method.
The histogram of the image is a method of analyzing the encryption algorithm. The histogram distributions of different images are different. When the histogram distribution of the corresponding ciphertext image is consistent, the encryption algorithm can resist histogram statistical analysis attacks. It shows that the scheme of this paper has very good security.
Figure 10 is a histogram before and after encryption using this method: Fig. 10(a) is a histogram distribution of a plaintext image with certain statistical characteristics; Fig. 10(b) is the histogram distribution of the ciphertext image. After the compressive ghost imaging, the information is further compressed and the encrypted image is approximately evenly distributed, which shows that the proposed scheme has good security.
Each pixel in a digital image is not independent and is very relevant. One of the goals of image encryption is to reduce the correlation of adjacent pixels, which mainly include the correlation among horizontal pixels, vertical pixels, and diagonal pixels. Obviously, the smaller the relevance, the better the effect of image encryption and the higher the security. The expression of the pixel correlation coefficient is:
where x and y represent respectively the pixel values of two adjacent pixels in the image, CC is the correlation coefficient of two adjacent pixels.
As can be seen from Table 1, the adjacent pixels of the original images have a high correlation and the adjacent pixels of the ciphertext images have a small correlation, with the adjacent pixels are basically irrelevant, which shows that the statistical characteristics of the original images have been diffused into random ciphertext images.
TABLE 1. Correlation coefficients of adjacent pixels to a plaintext image and a ciphertext image
In the experiment, MATLAB software was used to simulate the correlation of adjacent pixels in the vertical direction, and the correlation was shown by a scatter plot, as shown in Fig. 11. Obviously, the correlation of adjacent pixels in the original image shows a clear linear relationship, while the correlation of adjacent pixels of the encrypted image presents a random correspondence.
Noise attack is inevitable in the process of information encryption and propagation, and the noise will affect the imaging quality of the object and the transmission of the image information. Therefore, it is essential to evaluate the robustness of the encryption algorithm when the key or ciphertext is attacked by noise. Figure 12 shows the NC value of the reconstructed image under different noise attack intensities in the scheme of this paper. From the figure, we can see that: (1) With the increase of noise intensity, the NC value has a certain degree of decline; (2) Although a certain noise attack, the reconstructed image can still be distinguished, which shows that the scheme of this paper has effective security.
This paper makes full use of the anti-cutting characteristics of the Fourier transform algorithm, achieving information compression and greatly reducing the amount of information transmitted. In the experiment, the image information after Fourier transform was cut out at different proportions, and then the cropped images adopt compressive ghost imaging. Evaluating the cropped information with the quality of the reconstructed images will not affect the encryption algorithm in this paper. In this paper, similarity (NC) is used to objectively evaluate the degree of similarity between the original plaintext image and the reconstructed image. The obtained NC value is used as an objective index to evaluate the sharpness of the cut image reconstruction, so as to determine the maximum cut ratio of the plaintext image. The largest cutting ratio, thereby minimizing the amount of information transmitted, reducing storage space and increasing the rate of information transmission. For an image of size M × N, the mathematical expression of similarity NC is as follows:
where X is the original plaintext image,
Where (a) represents the original image; (b-e) are respectively the reconstructed images of 30%, 50%, and 75%, whose NC are respectively 0.8749, 0.7432, 0.5828. From the effect images of Fig. 13, it can be seen that the reconstructed images can recognize the contour of the original image when the cropping ratio reaches 75%. Therefore, it is illustrated that the algorithm can successfully reconstruct the original images.
From Table 2, it can be seen that the amount of transmitted information is 2048 bits when the cutting ratio is 75%, which greatly reduces the amount of transmitted information and reduces the storage space. The NC values of the reconstructed images and the corresponding amounts of transmitted information under different cutting ratios are shown in Table 2.
TABLE 2. NC values and transmitted information’s amount of reconstructed images in different cut ratios
This paper proposes a multiple-image encryption algorithm based on Fourier transform and compressive ghost imaging, which solves the problems of low security, long imaging time and other issues of current encryption algorithms, breaking through the limitations of the traditional Nyquist sampling rate, achieving low sampling rate and high reconstruction quality. The encryption algorithm combined the Fourier transform and completes the compression, reducing the amount of transmitted information, reducing the data storage space and improving the speed of information transmission. The encryption algorithm has high security, fast transmission speed and good quality of reconstruction information. Therefore, the encryption algorithm can be applied to information encryption and data storage, which has a good application prospect.
Current Optics and Photonics 2018; 2(4): 315-323
Published online August 25, 2018 https://doi.org/10.3807/COPP.2018.2.4.315
Copyright © Optical Society of Korea.
Zhang Leihong1, Yuan Xiao1,*, Zhang Dawei1, and Chen Jian2
1
Correspondence to:yxhello365@163.com
A new multiple-image encryption scheme that is based on a compressive ghost imaging concept along with a Fourier transform sampling principle has been proposed. This further improves the security of the scheme. The scheme adopts a Fourier transform to sample the original multiple-image information respectively, utilizing the centrosymmetric conjugation property of the spatial spectrum of the images to obtain each Fourier coefficient in the most abundant spatial frequency band. Based on this sampling principle, the multiple images to be encrypted are grouped into a combined image, and then the compressive ghost imaging algorithm is used to improve the security, which reduces the amount of information transmission and improves the information transmission rate. Due to the presence of the compressive sensing algorithm, the scheme improves the accuracy of image reconstruction.
Keywords: Fourier transform, Compressive sensing, Ghost imaging, Multiple-image Encryption
With the rapid development of computer and Internet technologies, information security has attracted more and more researchers. Due to the ultra-high speed and multiple dimensional processing, optical information security technology has been popular for a long time, including double random phase encryption technology [1-5] and ghost imaging technology [6-10]. As another important branch of optical encryption, multiple-image encryption technology has attracted more and more attention because it not only improves the encryption ability but also reduces the data volume of the ciphertext. As far as multi-image encryption technology is concerned, it mainly focuses on researching new methods for simultaneous encryption of multiple images, to enhance the security of data and improve the robustness of the system.
Klyshko proposed a ghost imaging scheme that has attracted more and more attention owing to its remarkable physical properties [6]. Katz
In order to improve coding efficiency, the methods of multiple-image encryption based on position multiplexing and computational ghost imaging [14]; double random phase encryption [15] etc. have been proposed. Lee and Cho [15] proposed a multiple-image transmission method based on double random phase encryption using orthogonal encoding, which uses two random phase masks and orthogonal encoding. The orthogonal encoding for multiple images uses a larger Hadamard matrix than that for a single image, increasing the security of encryption. Li
In the computational ghost imaging encryption system, the spatial light modulator (SLM) that inputs a series of phase masks is used, as shown in Fig. 1,[19]. The plane wave is modulated by the phase masks and a Fresnel diffraction occurrs with a distance Z from phase masks plane to object plane. Then the light intensity distribution in the object plane could be calculated by using the Fresnel diffraction, which can be expressed as [20]
where
Therefore, the new imaging process only requires a bucket detector (BD) to obtain the ciphertext
where the
where <•> represents the average operation.
However, the ghost imaging algorithm is a statistical feature extraction process. The detection time required for imaging and the resolution time for the reconstruction algorithm are relatively long. In order to solve this problem, Donoho proposed a new reconstruction algorithm based on compressive sensing, which greatly reduced the number of exposure samplings and reduced the amount of computation. At the same time, more encrypted information can be transmitted and the amount of information transmitted is increased under the same calculation conditions. That is to say, the ghost imaging combined with the compressive sensing algorithm successfully solves the problems of long imaging time and low accuracy of object reconstruction. The specific encryption process is: the plaintext image
The matrix size is
The expression of the encryption process is:
A compressive sensing algorithm is used for decryption. The original signal can be reconstructed from these projections with high probability by solving an optimization problem. The minimum
The two-dimensional image Fourier transform is to convert the distribution of image luminance values in the spatial domain to the frequency domain distribution of the image. In this paper, the fast Fourier transform (FFT) can be used to convert the image signal from the spatial domain to the frequency domain for analysis. Using the sparseness and conjugacy of the spatial spectrum of the image, the important information of the image is obtained according to different sampling rates in the Fourier space. In this paper, four binary images are taken as an example. The spectrum and sampling are shown in Figs. 2 and 3.
The multiple-image encryption and decryption process based on the Fourier transform and compressive ghost imaging algorithm are shown in Figs. 4 and 5. The main steps are as follows:
(1) Fourier transforms are applied to the multiple images and converted from spatial domain to frequency domain;
(2) In the frequency domain, multiple images are sampled and combined to form a single ciphertext, and the formed single ciphertext is used as the plaintext image of the next encryption algorithm with ghost imaging. The matrix of the sampling image is represented in Eq. (9), where (x,y) denotes a two-dimensional matrix in the spatial domain and (u,v) denotes a two-dimensional matrix in the Fourier domain. The value of i varies from 1 to k, where k is the total number of images to be encrypted, the images are sampled by a sampling operation to obtain useful information in the images;
(3) Since the formed single ciphertext is of the characteristics of a complex-valued function, it is separated into real and imaginary parts. Then, they are transmitted and encrypted by using ghost imaging. With a random modulation signal as the key, encryption can be achieved due to the randomness of the key;
(4) The compressive sensing algorithm is used to decrypt separately the transmitted ciphertexts and combine the decrypted parts into a plural form. Therefore, the combined image is obtained. The combined image contains the reconstructed multiple images through Ω(
(5) The inverse Fourier transform is performed on the reconstructed images to obtain the original images.
In order to verify the effectiveness and feasibility of this method, a numerical experiment was carried out for this method. The experiment was mainly realized by MATLAB software. The selected experimental object is four 64 × 64 binary images. The four binary images adopt are transformed, and the transformed images are sampled according to different sampling rates; the images obtained by Fourier transform sampling are used as the plaintext images of the compressive ghost imaging algorithm. That is, the object
Feasibility refers to the situation where the recipient recovers the original graphic information by using the key shared by the sender and the ciphertext delivered on the common channel. The feasibility assessment is performed using the optical information encryption method to reconstruct the resolution of the plaintext information, which is measured using subjective judgments and objective parameters. In this section we will discuss the feasibility of the encryption method, and compare the Fourier transform and compressive ghost imaging (FFT-CGI) with the Fourier transform and ghost imaging algorithm (FFT-GI). As shown in Figs. 7 and 8.
In order to objectively and accurately evaluate the quality of the recovered images using the encryption method. The commonly used objective evaluation indicators include mean square error (MSE) and peak signal-to-noise ratio (PSNR). The basic idea is to measure the degree of deviation of the pixels of the reconstructed image from the corresponding pixels of the original image to evaluate the quality of the reconstructed image. For a size of M × N image, the mathematical expression for MSE and PSNR is:
where
The PSNR values of the two methods at different sampling rates are shown in Fig. 9.
The solid lines of different colors in the figure represent the PSNR transformation of different images under different sampling conditions in the FFT-CGI method. The dotted lines of different colors represent the PSNR transformation of different images under different sampling conditions in the FFT-GI method. The trends of the curves in Figs. 8~10 show that: (1) With the increase of the sampling rate, the PSNR value shows an upward trend, that is, the larger the number of samples, the greater the PSNR, the higher the quality of the reconstructed image, and the closer to the original image information; (2) When the sampling rate is 50%, or 70%, the reconstructed images are approximately similar; (3) When the sampling rate is 25%, the corresponding PSNR values of the FFT-CGI scheme are respectively 18.0702, 18.6568, 17.0901. The reconstructed images are close to the original images. However, the corresponding PSNR values of the FFT-GI scheme are respectively 7.1612, 7.5638, 7.6249, 7.1821. In the scheme, the original image cannot be reconstructed when the sampling rate reaches 50%. These experimental results show that the images recovered by the FFT-CGI scheme has better quality, which proves that the scheme is more effective in terms of feasibility. At the same time, it shows that the CS algorithm can achieve the characteristics of low sampling rate and high reconstruction quality.
In practical applications, an absolutely secure cryptographic system does not exist. If the cost of deciphering the algorithm is greater than the cost of the encrypted information, the algorithm can be considered secure. Therefore, we need to use existing password attack methods as far as possible to verify the anti-attack performance of the designed system. For example, selected plaintext attack, selected ciphertext attack, known plaintext attack, only ciphertext attack, noise attack and so on. This paper uses only ciphertext attack and noise attack to attack.
Ciphertext-only attacks (COA) are that attackers try to analyze the key in the intercepted ciphertext or the plaintext corresponding to the ciphertext. The ciphertext-only attack is the most difficult in all attacks. Attackers usually can guess the plaintext or key only based on the statistical characteristics of the secret text body. If a cryptosystem cannot resist ciphertext-only attacks, in theory, this cryptosystem is insecure. This paper uses the histogram and correlation between neighboring pixels in statistical analysis to count the ciphertext characteristics and to verify the security of the method.
The histogram of the image is a method of analyzing the encryption algorithm. The histogram distributions of different images are different. When the histogram distribution of the corresponding ciphertext image is consistent, the encryption algorithm can resist histogram statistical analysis attacks. It shows that the scheme of this paper has very good security.
Figure 10 is a histogram before and after encryption using this method: Fig. 10(a) is a histogram distribution of a plaintext image with certain statistical characteristics; Fig. 10(b) is the histogram distribution of the ciphertext image. After the compressive ghost imaging, the information is further compressed and the encrypted image is approximately evenly distributed, which shows that the proposed scheme has good security.
Each pixel in a digital image is not independent and is very relevant. One of the goals of image encryption is to reduce the correlation of adjacent pixels, which mainly include the correlation among horizontal pixels, vertical pixels, and diagonal pixels. Obviously, the smaller the relevance, the better the effect of image encryption and the higher the security. The expression of the pixel correlation coefficient is:
where x and y represent respectively the pixel values of two adjacent pixels in the image, CC is the correlation coefficient of two adjacent pixels.
As can be seen from Table 1, the adjacent pixels of the original images have a high correlation and the adjacent pixels of the ciphertext images have a small correlation, with the adjacent pixels are basically irrelevant, which shows that the statistical characteristics of the original images have been diffused into random ciphertext images.
In the experiment, MATLAB software was used to simulate the correlation of adjacent pixels in the vertical direction, and the correlation was shown by a scatter plot, as shown in Fig. 11. Obviously, the correlation of adjacent pixels in the original image shows a clear linear relationship, while the correlation of adjacent pixels of the encrypted image presents a random correspondence.
Noise attack is inevitable in the process of information encryption and propagation, and the noise will affect the imaging quality of the object and the transmission of the image information. Therefore, it is essential to evaluate the robustness of the encryption algorithm when the key or ciphertext is attacked by noise. Figure 12 shows the NC value of the reconstructed image under different noise attack intensities in the scheme of this paper. From the figure, we can see that: (1) With the increase of noise intensity, the NC value has a certain degree of decline; (2) Although a certain noise attack, the reconstructed image can still be distinguished, which shows that the scheme of this paper has effective security.
This paper makes full use of the anti-cutting characteristics of the Fourier transform algorithm, achieving information compression and greatly reducing the amount of information transmitted. In the experiment, the image information after Fourier transform was cut out at different proportions, and then the cropped images adopt compressive ghost imaging. Evaluating the cropped information with the quality of the reconstructed images will not affect the encryption algorithm in this paper. In this paper, similarity (NC) is used to objectively evaluate the degree of similarity between the original plaintext image and the reconstructed image. The obtained NC value is used as an objective index to evaluate the sharpness of the cut image reconstruction, so as to determine the maximum cut ratio of the plaintext image. The largest cutting ratio, thereby minimizing the amount of information transmitted, reducing storage space and increasing the rate of information transmission. For an image of size M × N, the mathematical expression of similarity NC is as follows:
where X is the original plaintext image,
Where (a) represents the original image; (b-e) are respectively the reconstructed images of 30%, 50%, and 75%, whose NC are respectively 0.8749, 0.7432, 0.5828. From the effect images of Fig. 13, it can be seen that the reconstructed images can recognize the contour of the original image when the cropping ratio reaches 75%. Therefore, it is illustrated that the algorithm can successfully reconstruct the original images.
From Table 2, it can be seen that the amount of transmitted information is 2048 bits when the cutting ratio is 75%, which greatly reduces the amount of transmitted information and reduces the storage space. The NC values of the reconstructed images and the corresponding amounts of transmitted information under different cutting ratios are shown in Table 2.
This paper proposes a multiple-image encryption algorithm based on Fourier transform and compressive ghost imaging, which solves the problems of low security, long imaging time and other issues of current encryption algorithms, breaking through the limitations of the traditional Nyquist sampling rate, achieving low sampling rate and high reconstruction quality. The encryption algorithm combined the Fourier transform and completes the compression, reducing the amount of transmitted information, reducing the data storage space and improving the speed of information transmission. The encryption algorithm has high security, fast transmission speed and good quality of reconstruction information. Therefore, the encryption algorithm can be applied to information encryption and data storage, which has a good application prospect.