Security authentication optical encryption and decryption method based on computational correlation imaging and related equipment
By using computational association imaging technology in an optical encryption system, the images to be transmitted and images to be authenticated are independently encoded, the ciphertext is generated, and the correctness of the ciphertext is verified through nonlinear association functions, the problem of ciphertext security authentication is solved, and the security and efficiency of the system are improved.
Patent Information
- Application Number
- CN202411999364.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2044-12-31
AI Technical Summary
There are currently problems with security authentication of ciphertexts in imaging optical encryption schemes. Only transmitting ciphertexts through common channels cannot effectively ensure the correctness of ciphertexts.
Using a secure authentication optical encryption method based on computational association imaging, the image to be transmitted and the image to be authenticated are independently encoded into two intensity point sequences by setting different propagation distances, and the ciphertext is generated, and the imaging parameters and propagation distance of the CGI structure are used as the keys. The receiver verifies the image to be authenticated through a nonlinear association function to confirm the correctness of the ciphertext.
It realizes secure authentication of ciphertext, ensures the correctness of receiving ciphertext by the receiver, improves the security and efficiency of the system, and ensures that the information to be authenticated will not be leaked during transmission through nonlinear correlation function verification.
Smart Images

Figure CN119996583A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image information security technology, in particular to the field of optical encryption technology, and specifically to a security authentication optical encryption and decryption method based on computational correlation imaging and related equipment. Background Art
[0002] As an emerging encryption technology, optical encryption technology has the advantages of parallel processing, high speed, energy saving, and multi-parameters, and has therefore attracted widespread attention. As an important pioneering work, Refregier and Javidi proposed a double random phase encoding scheme, in which the image is encrypted into ciphertext by using two randomly placed phase masks. Subsequently, optical encryption schemes in different transform domains (such as Fresnel domain, fractional Fourier domain, etc.) have been proposed one after another.
[0003] At the same time, many alternative optical encryption systems are also implemented by using various typical optical principles or architectures. In optical encryption systems, most of the values in the ciphertext are complex amplitudes, which increases the burden of transmission. To solve this problem, Clemente et al. proposed an optical encryption system based on computational correlation imaging (CGI). Subsequently, different types of optical encryption schemes based on correlation imaging technology have been proposed. In an optical encryption system based on correlation imaging, the ciphertext is transmitted to the receiver via a public channel, and the public channel can also transmit other data. Therefore, ciphertext authentication is the main problem of optical encryption technology based on correlation imaging. Only by ensuring that the ciphertext is correct can the information that needs to be encrypted and transmitted be recovered. Summary of the invention
[0004] In order to solve the problem of ciphertext security authentication in the existing correlation imaging optical encryption scheme, the present invention provides a security authentication optical encryption and decryption method and related equipment based on Computational Ghost Imaging (CGI).
[0005] In a first aspect, the present invention provides a secure authentication optical encryption method based on computational correlation imaging, comprising:
[0006] Step 1: setting the distance between the image to be transmitted and the spatial light modulator in the computational correlation imaging device to be a first distance, and using the computational correlation imaging device to measure and obtain a sequence of light signal intensity points of the image to be transmitted;
[0007] Step 2: remove the image to be transmitted, set the distance between the image to be authenticated and the spatial light modulator to be a second distance, and use the computational correlation imaging device to measure and obtain a sequence of light signal intensity points of the image to be authenticated; wherein the first distance is not equal to the second distance;
[0008] Step 3: Generate ciphertext according to the light signal strength point sequence of the image to be transmitted and the light signal strength point sequence of the image to be authenticated; wherein the proportion of the light signal strength point sequence of the image to be transmitted in the ciphertext should be much greater than the light signal strength point sequence of the authentication image;
[0009] Step 4: Send the ciphertext to the receiver through a public channel, and send the imaging parameters, the first distance, and the second distance of the calculated associated imaging device as keys to the receiver through a private channel, so that the receiver can use the keys to recover the image to be transmitted and the image to be authenticated from the ciphertext, and judge whether the received ciphertext is correct based on the recovered image to be authenticated.
[0010] Furthermore, the computational correlation imaging device measures and obtains the light signal intensity point sequence of the image to be transmitted and the image to be authenticated according to the following formula:
[0011] B 1,k =∫O 1 (x 1 ,y 1 )I 1,k (x 1 ,y 1 )dx 1 dy 1
[0012] B 2,k =∫O 2 (x 2 ,y 2 )I 2,k (x 2 ,y 2 )dx 2 dy 2
[0013] Among them, B 1,k represents the sequence of light signal intensity points of the image to be transmitted, B 2,k represents the light signal intensity point sequence of the image to be authenticated, O 1 (x 1 ,y 1 ) and O 2 (x 2 ,y 2 ) represent the image to be transmitted and the image to be authenticated respectively, I 1,k (x 1 ,y 1 ) represents the lateral coordinate (x 1 ,y 1 ) at the kth moment, I 2,k (x 2 ,y 2 ) represents the horizontal coordinate (x 2 ,y2 ) at the kth moment.
[0014] Further, the speckle pattern I generated at the kth moment at the lateral coordinate (x, y) of the object surface of the image is calculated according to the following formula: k (x,y):
[0015]
[0016] Among them, FrT λ,z [·] represents the Fresnel transform with wavelength λ and distance z, φ k (x, y) represents the random phase loaded by the spatial light modulator, i represents the imaginary unit, || 2 It means taking the absolute value and then performing the square operation.
[0017] Furthermore, step 3 specifically includes:
[0018] The light signal intensity point sequences of the image to be transmitted and the image to be authenticated are normalized, and the normalized light signal intensity point sequences of the image to be transmitted and the image to be authenticated are linearly combined to generate ciphertext.
[0019] In a second aspect, the present invention provides a secure authentication optical decryption method based on computational correlation imaging, which is applied to the optical encryption method described in the first aspect, and the optical decryption method comprises:
[0020] The ciphertext is received through a public channel, the key is received through a private channel, and the image to be authenticated is shared with the sender in advance;
[0021] The received key is used to recover the image to be transmitted and the image to be authenticated from the received ciphertext, and whether the received ciphertext is correct is determined based on the recovered image to be authenticated, including:
[0022] Calculating a first reference speckle pattern using the received imaging parameters of the computational correlation imaging device and the first distance, and calculating a second reference speckle pattern using the received imaging parameters of the computational correlation imaging device and the second distance;
[0023] The image to be authenticated is restored from the ciphertext based on the second reference speckle pattern, and the restored image to be authenticated is authenticated by using a nonlinear correlation function based on the shared image to be authenticated. If the authentication is successful, it indicates that the received ciphertext is correct. At this time, the image to be transmitted is restored from the ciphertext based on the first reference speckle pattern.
[0024] Furthermore, the following normalized second-order correlation function is used to recover the image to be authenticated or the image to be transmitted from the ciphertext based on the reference speckle pattern:
[0025]
[0026] Among them, g 1 (x 1 ,y 1 ) represents the restored image to be transmitted, g 2 (x 2 ,y 2 ) represents the restored image to be authenticated, I 1,k (x 1 ,y 1 ) and I 1,k (x 1 ,y 1 ) represent the first reference speckle pattern and the second reference speckle pattern respectively, B k Indicates ciphertext.
[0027] In a third aspect, the present invention provides a secure authentication optical encryption device based on computational correlation imaging, comprising:
[0028] A measuring module, used to measure and obtain a sequence of light signal intensity points of an image to be transmitted and a sequence of light signal intensity points of an image to be authenticated by using the computational correlation imaging device; wherein the distance between the image to be transmitted and the spatial light modulator in the computational correlation imaging device is a first distance, and the distance between the image to be authenticated and the spatial light modulator is a second distance, and the first distance is not equal to the second distance;
[0029] A ciphertext generation module, used to generate ciphertext according to the optical signal intensity point sequence of the image to be transmitted and the optical signal intensity point sequence of the image to be authenticated;
[0030] The communication module is used to send the ciphertext to the receiver through a public channel, and send the imaging parameters, the first distance and the second distance of the calculated associated imaging device as keys to the receiver through a private channel, so that the receiver can use the keys to restore the image to be transmitted and the image to be authenticated from the ciphertext, and judge whether the received ciphertext is correct according to the restored image to be authenticated.
[0031] In a fourth aspect, the present invention provides a secure authentication optical decryption device based on computational correlation imaging, which is applied to the optical encryption device as described in the third aspect, comprising:
[0032] A communication module, used for receiving the ciphertext through a public channel, receiving the key through a private channel, and sharing the image to be authenticated with the sender in advance;
[0033] A decryption module is used to restore the image to be transmitted and the image to be authenticated from the received ciphertext using the received key, and judge whether the received ciphertext is correct according to the restored image to be authenticated, specifically comprising: calculating a first reference speckle pattern using the received imaging parameters of the computationally correlated imaging device and the first distance, and calculating a second reference speckle pattern using the received imaging parameters of the computationally correlated imaging device and the second distance; restoring the image to be authenticated from the ciphertext based on the second reference speckle pattern, authenticating the restored image to be authenticated based on the shared image to be authenticated using a nonlinear correlation function, if the authentication is successful, it indicates that the received ciphertext is correct, and at this time, restoring the image to be transmitted from the ciphertext based on the first reference speckle pattern.
[0034] In a fifth aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the optical encryption method as described in the first aspect and / or the optical decryption method as described in the second aspect are implemented.
[0035] In a sixth aspect, the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the optical encryption method as described in the first aspect and / or the optical decryption method as described in the second aspect is implemented.
[0036] Beneficial effects of the present invention:
[0037] The optical encryption and decryption scheme provided by the present invention uses a CGI system with different propagation distances to independently encode the image to be transmitted and the image to be authenticated into two intensity point sequences. The two different intensity point sequences are then combined to generate a ciphertext, in which the intensity point sequence obtained from the image to be transmitted accounts for a large proportion. During decoding, the image to be transmitted and the image to be authenticated information can be reconstructed by using the reference intensity speckle sequence and the ciphertext obtained at different propagation distances, respectively. In addition, there is no clear information in the restored image to be authenticated, but a nonlinear correlation algorithm can be used to verify the restored image to be authenticated. Therefore, this method allows the user to securely authenticate the ciphertext to ensure the correctness of the received ciphertext. At the same time, no clear information about the image to be authenticated can be observed in the process of restoring the image to be authenticated, and only a nonlinear correlation algorithm can be used to verify the image to be authenticated, which ensures that the information of the image to be authenticated will not be leaked during the transmission process, thereby ensuring the high security of the optical encryption system.
[0038] In summary, the present invention has the following advantages: 1) The ciphertext is securely authenticated, which ensures the correctness of the ciphertext received by the receiver and greatly improves the security of the system. 2) The information to be authenticated and the information to be transmitted are combined to form the ciphertext, which ensures the synchronous transmission of the information to be transmitted and the information to be authenticated, and improves the efficiency of the system. 3) During the authentication process, the authentication image information will not be obviously displayed, and can only be authenticated through a nonlinear correlation function, which improves the security of the information to be authenticated. 4) The security enhancement of this method will further enrich the research on computational ghost imaging. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of a computational correlation imaging device provided by an embodiment of the present invention;
[0040] Figure 2 A flowchart of a secure authentication optical encryption method based on computational correlation imaging provided by an embodiment of the present invention;
[0041] Figure 3 A flowchart of a secure authentication optical decryption method based on computational correlation imaging provided by an embodiment of the present invention;
[0042] Figure 4 A schematic diagram of an image to be transmitted provided by an embodiment of the present invention;
[0043] Figure 5 A schematic diagram of an image to be authenticated provided in an embodiment of the present invention;
[0044] Figure 6 A schematic diagram of a ciphertext sequence provided in an embodiment of the present invention;
[0045] Figure 7 The image information to be authenticated is obtained by using the correct ciphertext and key recovery provided in the embodiment of the present invention;
[0046] Figure 8 The nonlinear correlation function NC(x) generated by the embodiment of the present invention is 2 ,y 2 );
[0047] Fig. 9 The image information to be transmitted obtained by using the correct ciphertext and key recovery provided by the embodiment of the present invention;
[0048] Fig.10 A structural diagram of a secure authentication optical encryption device based on computational correlation imaging provided by an embodiment of the present invention;
[0049] Fig.11 A structural diagram of a security authentication optical decryption device based on computational correlation imaging provided by an embodiment of the present invention;
[0050] Fig.12 A structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] Computational correlation imaging, also known as computer ghost imaging, is a technology that uses correlation calculation to obtain object information. The optical structure used in the security authentication optical encryption method provided by the present invention is a computational correlation imaging structure. Figure 1 As shown, a laser, a spatial light modulator, an object to be transmitted, an object to be authenticated and a barrel detector are sequentially placed along the axis, and the barrel detector and the spatial light modulator are both connected to the controller signal.
[0053] Using the above-mentioned computational correlation imaging structure, the embodiment of the present invention provides a secure authentication optical encryption method based on computational correlation imaging, referring to Figure 2 , including the following steps:
[0054] S101: setting the distance between the image to be transmitted and the spatial light modulator in the computational correlation imaging device to be a first distance, and using the computational correlation imaging device to measure and obtain a sequence of light signal intensity points of the image to be transmitted;
[0055] Specifically, according to the computational correlation imaging technology, the laser emission light is irradiated on the spatial light modulator, and the controller loads a series of preset random phases to the spatial light modulator. At this time, the spatial light modulator modulates the emission light based on the loaded series of preset random phases to generate a series of random speckle patterns. These series of random speckle patterns will pass through the spatial light modulator at a distance of z 1 The image to be transmitted O 1 , then a sequence of light signal intensity points is measured by the bucket detector.
[0056] S102: removing the image to be transmitted, setting the distance between the image to be authenticated and the spatial light modulator to a second distance, and using the computational correlation imaging device to measure and obtain a sequence of light signal intensity points of the image to be authenticated; wherein the first distance is not equal to the second distance;
[0057] Specifically, the measurement process of the optical signal intensity point sequence of the image to be authenticated is the same as that of the image to be transmitted, which will not be repeated here. 2, the corresponding second distance is denoted as z 2 It should be noted that the imaging parameters of the calculation-related imaging device used in the measurement process of the image to be authenticated are the same as those in the above-mentioned step S101.
[0058] It is understandable that there is no order between the above steps S101 and S102. If the image to be authenticated is measured first, the image to be authenticated can be removed when measuring the image to be transmitted.
[0059] S103: Generate ciphertext according to the light signal strength point sequence of the image to be transmitted and the light signal strength point sequence of the image to be authenticated; wherein the proportion of the light signal strength point sequence of the image to be transmitted in the ciphertext should be much greater than the light signal strength point sequence of the authentication image;
[0060] Specifically, the ciphertext is generated based on the light signal strength information of both the image to be transmitted and the image to be authenticated. On the one hand, the security of the ciphertext itself is enhanced, and on the other hand, it prepares for the correctness of the subsequent reception of the ciphertext based on the image to be authenticated in the ciphertext. It is understandable that the generated ciphertext may include only two light signal strength point sequences, or other plaintext content may be adaptively added as needed. When only two light signal strength point sequences are included, the combination of the two may be a linear combination or a nonlinear combination.
[0061] S104: Send the ciphertext to the receiver through a public channel, and send the imaging parameters of the associated imaging device, the first distance, and the second distance as keys to the receiver through a private channel, so that the receiver can use the keys to recover the image to be transmitted and the image to be authenticated from the ciphertext, and judge whether the received ciphertext is correct based on the recovered image to be authenticated.
[0062] Specifically, a public channel refers to a communication channel that can be used by multiple users or devices, such as radio spectrum resources in wireless communications. A private channel refers to a channel dedicated to secure communication between two or more authorized entities to protect data from being accessed or intercepted by unauthorized third parties and ensure the privacy of the data. Private channels can be implemented using symmetric encryption, asymmetric encryption or other advanced encryption technologies to ensure that only the recipient with the correct key can decrypt and understand the transmitted information.
[0063] In the generated ciphertext, since the image to be authenticated occupies a very small proportion, no clear and distinct information can be observed in the image to be authenticated recovered from the ciphertext, which ensures that the information of the image to be authenticated will not be leaked during the transmission process, ensuring the high security of the optical encryption system, while meeting the user's needs for secure authentication of the ciphertext to ensure the correctness of the received ciphertext.
[0064] In this embodiment, the imaging parameters of the imaging device may include the wavelength λ of the laser emitted light, a series of random phases φ loaded by the spatial light modulator, k (x,y).
[0065] The present invention independently encodes the image to be transmitted and the image to be authenticated into two intensity point sequences by respectively using CGI structures with different propagation distances, and then generates ciphertext based on the two different intensity point sequences. The imaging parameters of the CGI structure and the propagation distance are used as the key of the ciphertext. During decoding, the image to be transmitted and the image to be authenticated can be reconstructed by respectively using the reference intensity speckle sequence and the ciphertext obtained at different propagation distances, and the ciphertext security authentication problem in the optical encryption scheme is solved based on the restored image to be authenticated.
[0066] On the basis of the above-mentioned embodiment, in the embodiment of the present invention, the calculation correlation imaging device measures and obtains the light signal intensity point sequence of the image to be transmitted and the image to be authenticated according to the following formula:
[0067] B 1,k =∫O 1 (x 1 ,y 1 )I 1,k (x 1 ,y 1 )dx 1 dy 1
[0068] B 2,k =∫O 2 (x 2 ,y 2 )I 2,k (x 2 ,y 2 )dx 2 dy 2
[0069] Among them, B 1,k represents the sequence of light signal intensity points of the image to be transmitted, B 2,k represents the light signal intensity point sequence of the image to be authenticated, O 1 (x 1 ,y 1 ) and O 2 (x 2 ,y 2 ) represent the image to be transmitted and the image to be authenticated respectively, I 1,k (x 1 ,y 1 ) represents the lateral coordinate (x 1 ,y 1 ) at the kth moment, I 2,k (x2 ,y 2 ) represents the horizontal coordinate (x 2 ,y 2 ) at the kth moment.
[0070] The speckle pattern I generated at the kth moment at the lateral coordinate (x, y) of the object surface of the image is calculated according to the following formula: k (x,y):
[0071]
[0072] Among them, FrT λ,z [·] represents the Fresnel transform with wavelength λ and distance z, φ k (x, y) represents the random phase loaded by the spatial light modulator, i represents the imaginary unit, || 2 It means taking the absolute value and then performing the square operation.
[0073] On the basis of the above embodiments, a ciphertext generation method is provided in an embodiment of the present invention, which specifically includes: normalizing the optical signal intensity point sequence of the image to be transmitted and the image to be authenticated, and linearly combining the normalized optical signal intensity point sequence of the image to be transmitted and the image to be authenticated to generate ciphertext.
[0074] Specifically, normalizing the light signal intensity point sequence helps to eliminate the systematic error of the computationally correlated imaging structure at different measurement times. The normalization method may include maximum and minimum value normalization, Z-score normalization, and other commonly used normalization methods.
[0075] In an exemplary embodiment, a certain optical signal intensity point sequence is normalized using maximum and minimum value normalization, and the expression is:
[0076] B′ t,k =[B t,k -min(B t,k )] / [max(B t,k )-min(B t,k )],(t=1,2)
[0077] Correspondingly, the generated ciphertext can be expressed as follows:
[0078] B k =αB′ 1,k +βB′ 2,k ,(α+β=1)
[0079] Among them, α is much larger than β.
[0080] The embodiment of the present invention generates ciphertext by adopting a linear combination method, thereby ensuring the security of the security authentication optical encryption method and reducing the complexity of the method itself.
[0081] In view of the above optical encryption method, an embodiment of the present invention further provides a secure authentication optical decryption method based on computational correlation imaging, comprising the following steps:
[0082] The ciphertext is received through a public channel, the key is received through a private channel, and the image to be authenticated is shared with the sender in advance;
[0083] The received key is used to recover the image to be transmitted and the image to be authenticated from the received ciphertext, and the received ciphertext is judged to be correct according to the recovered image to be authenticated, such as Figure 3 As shown, specifically including:
[0084] Calculating a first reference speckle pattern using the received imaging parameters of the computational correlation imaging device and the first distance, and calculating a second reference speckle pattern using the received imaging parameters of the computational correlation imaging device and the second distance;
[0085] Specifically, the calculation method of the two reference speckle patterns is similar to the speckle pattern I in the optical encryption method. k The calculation method of (x,y) is the same and will not be repeated here.
[0086] The image to be authenticated is restored from the ciphertext based on the second reference speckle pattern, and the restored image to be authenticated is authenticated by using a nonlinear correlation function based on the shared image to be authenticated. If the authentication is successful, it indicates that the received ciphertext is correct. At this time, the image to be transmitted is restored from the ciphertext based on the first reference speckle pattern.
[0087] Specifically, when the ciphertext is transmitted in a public channel, the receiver may not receive the correct ciphertext. In the case of an attacker, the ciphertext may even be replaced or tampered with so that the receiver cannot receive the correct plaintext to be transmitted. Therefore, it is necessary to authenticate the correctness of the received ciphertext.
[0088] In an exemplary embodiment, a normalized second-order correlation function is used to recover the image to be authenticated from the ciphertext, and the expression is as follows:
[0089]
[0090] Among them, B k is the received ciphertext, I 2,k (x 2 ,y 2 ) is the second reference speckle pattern.
[0091] It should be noted that since the proportion of the image to be authenticated in the ciphertext is very small, the calculation result of the normalized second-order correlation function g 2 (x 2 ,y 2 ), and no clear information of the image to be authenticated can be obtained. This is to ensure that the information of the image to be authenticated will not be leaked during the transmission process. Based on this situation, the receiver uses a nonlinear correlation function to restore the image to be authenticated g 2 (x 2 ,y 2 ) for certification, including:
[0092] First, based on the image to be authenticated that was previously shared with the sender, calculate
[0093]
[0094] Among them, FT represents Fourier transform, · represents the multiplication of corresponding pixels, and * represents conjugation.
[0095] Then the following nonlinear correlation function is used for authentication:
[0096]
[0097] Here, IFT stands for inverse Fourier transform and q stands for nonlinear strength.
[0098] If there is an obvious peak in the nonlinear correlation function, it means that there is an obvious nonlinear correlation between the restored image to be authenticated and the shared image to be authenticated, and the restored image to be authenticated is considered to be authenticated successfully. Otherwise, it is considered to be authenticated unsuccessfully.
[0099] When the restored image information to be authenticated is successfully authenticated, the receiver can consider the received ciphertext to be the correct ciphertext, and can further use the normalized second-order correlation function to restore the image to be transmitted from the ciphertext, as expressed in the following formula; if the authentication fails, the receiver can consider the received ciphertext to be an incorrect ciphertext, and the information transmission process ends.
[0100]
[0101] The optical decryption method provided by the embodiment of the present invention utilizes a nonlinear correlation function to perform security authentication on the ciphertext. Only when the security authentication is successful, the received ciphertext is considered to be the correct ciphertext, and then the image information to be transmitted is decrypted, thereby ensuring the authenticity of the ciphertext and improving the security of the decryption result.
[0102] In order to verify the performance of the encryption and decryption methods of the present invention, the present invention also provides the following experimental data.
[0103] based on Figure 1The computational correlation imaging structure shown in the figure, in the security authentication optical encryption system based on computational correlation imaging, the laser emission wavelength is set to 532nm, the laser beam waist is 6mm, the random phase frame number loaded by the spatial light modulator is 5000 frames, and the image to be transmitted is O 1 (like Figure 4 The distance between the spatial light modulator and the 1 =0.1m, image to be authenticated O 2 (like Figure 5 The distance between the spatial light modulator and the 2 =0.2m.
[0104] The barrel detection values of the image to be transmitted and the image to be authenticated detected by the barrel detector are linearly added to obtain the ciphertext sequence, where α = 0.9, β = 0.1, such as Figure 6 shown.
[0105] In the decryption process, the normalized second-order correlation function g is obtained using the correct ciphertext and key. 2 (x 2 ,y 2 )like Figure 7 As shown, the correlation coefficient CC with the image to be authenticated is calculated as the convergence criterion, which is defined as follows:
[0106]
[0107] The CC value is 0.1877. Figure 7 It can be seen that using the normalized second-order correlation function g 2 (x 2 ,y 2 ) cannot obtain obvious information of the image to be authenticated. Its authentication method is to use the nonlinear correlation function NC(x 2 ,y 2 ), and the result is as follows Figure 8 As shown, in Figure 8 There is an obvious peak in , which means that the image to be authenticated is successfully authenticated. Then, the normalized second-order correlation function g is obtained using the correct ciphertext and key. 1 (x 1 ,y 1 )like Fig. 9 As shown, its CC value is 0.7330, and the image information to be transmitted can be clearly seen.
[0108] Therefore, the method of the present invention not only realizes ciphertext authentication, but also can reconstruct images with higher quality. It can be seen that the method of the present invention has extremely high feasibility and effectiveness.
[0109] At the same time, when the receiver receives the wrong key, the key authentication will fail. Even when there is an interference party that intercepts and resends the ciphertext, the authentication will fail because the image information to be authenticated cannot be clearly restored, thus improving the security of the system.
[0110] like Fig.10 As shown, an embodiment of the present invention also provides a secure authentication optical encryption device based on computational correlation imaging, including: a measurement module, a ciphertext generation module and a communication module;
[0111] Among them, the measurement module is used to use the computational correlation imaging device to measure and obtain the light signal intensity point sequence of the image to be transmitted and the light signal intensity point sequence of the image to be authenticated; wherein, the distance between the image to be transmitted and the spatial light modulator in the computational correlation imaging device is a first distance, and the distance between the image to be authenticated and the spatial light modulator is a second distance, and the first distance is not equal to the second distance; the ciphertext generation module is used to generate ciphertext according to the light signal intensity point sequence of the image to be transmitted and the light signal intensity point sequence of the image to be authenticated; the communication module is used to send the ciphertext to the receiver through a public channel, and send the imaging parameters of the computational correlation imaging device, the first distance and the second distance as keys to the receiver through a private channel, so that the receiver can use the key to recover the image to be transmitted and the image to be authenticated from the ciphertext, and judge whether the received ciphertext is correct according to the recovered image to be authenticated.
[0112] It should be noted that the optical encryption device provided in the embodiment of the present invention is to implement the above optical encryption method. Its specific functions can be referred to the above method embodiments, which will not be repeated here.
[0113] The present invention discloses a secure authentication optical encryption architecture based on computational correlation imaging. The secure authentication optical encryption device based on computational correlation imaging proposed by the present invention utilizes the assistance of computational correlation imaging technology, places the object to be transmitted and the object to be authenticated in sequence at different distances, and composes the barrel measurement value sequences detected respectively into ciphertexts according to a certain ratio, thereby realizing secure encryption that can be securely authenticated.
[0114] like Fig.11 As shown, an embodiment of the present invention further provides a security authentication optical decryption device based on computational correlation imaging, including a communication module and a decryption module.
[0115] The communication module is used to receive ciphertext through a public channel, receive a key through a private channel, and share an image to be authenticated with a sender in advance; the decryption module is used to restore an image to be transmitted and an image to be authenticated from the received ciphertext using the received key, and judge whether the received ciphertext is correct according to the restored image to be authenticated, specifically including: calculating a first reference speckle pattern using the received imaging parameters of the computationally correlated imaging device and a first distance, calculating a second reference speckle pattern using the received imaging parameters of the computationally correlated imaging device and a second distance; restoring the image to be authenticated from the ciphertext based on the second reference speckle pattern, authenticating the restored image to be authenticated based on the shared image to be authenticated using a nonlinear correlation function, if the authentication is successful, it indicates that the received ciphertext is correct, and at this time, restoring the image to be transmitted from the ciphertext based on the first reference speckle pattern.
[0116] It should be noted that the optical decryption device provided in the embodiment of the present invention is to implement the above optical decryption method. The specific functions thereof can be referred to the above method embodiments, which will not be described in detail here.
[0117] The optical decryption device for security authentication based on computational correlation imaging proposed in the present invention utilizes a nonlinear correlation function to perform security authentication on ciphertext. Only when the security authentication is successful can it be ensured that the received ciphertext is correct, and then the information to be transmitted can be decrypted, thereby ensuring the authenticity of the ciphertext and improving the security of the decryption result.
[0118] Fig.12 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.12 As shown, the electronic device may include: a processor 1201, a communications interface 1202, a memory 1203, and a communication bus 1204, wherein the processor 1201, the communications interface 1202, and the memory 1203 communicate with each other via the communication bus 1204. The processor 1201 may call the logic instructions in the memory 1203 to execute the optical encryption method and / or the optical decryption method in the above-mentioned embodiments.
[0119] In addition, when the logic instructions in the above-mentioned memory 1203 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0120] An embodiment of the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the optical encryption method and / or optical decryption method provided by the above-mentioned method embodiments.
[0121] An embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the optical encryption method and / or optical decryption method provided by the above-mentioned method embodiments is implemented.
[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A secure authentication optical encryption method based on computational correlation imaging, characterized in that: include: Step 1: setting the distance between the image to be transmitted and the spatial light modulator in the computational correlation imaging device to be a first distance, and using the computational correlation imaging device to measure and obtain a sequence of light signal intensity points of the image to be transmitted; Step 2: remove the image to be transmitted, set the distance between the image to be authenticated and the spatial light modulator to be a second distance, and use the computational correlation imaging device to measure and obtain a sequence of light signal intensity points of the image to be authenticated; wherein the first distance is not equal to the second distance; Step 3: Generate ciphertext according to the light signal strength point sequence of the image to be transmitted and the light signal strength point sequence of the image to be authenticated; wherein the proportion of the light signal strength point sequence of the image to be transmitted in the ciphertext should be much greater than the light signal strength point sequence of the authentication image; Step 4: Send the ciphertext to the receiver through a public channel, and send the imaging parameters, the first distance, and the second distance of the calculated associated imaging device as keys to the receiver through a private channel, so that the receiver can use the keys to recover the image to be transmitted and the image to be authenticated from the ciphertext, and judge whether the received ciphertext is correct based on the recovered image to be authenticated.
2. According to claim 1, a secure authentication optical encryption method based on computational correlation imaging is characterized in that: The computational correlation imaging device measures and obtains the light signal intensity point sequence of the image to be transmitted and the image to be authenticated according to the following formula: B 1,k =∫O1(x1,y1)I 1,k (x1,y1)dx1dy1 B 2,k =∫O2(x2,y2)I 2,k (x2,y2)dx2dy2 Among them, B 1,k represents the sequence of light signal intensity points of the image to be transmitted, B 2,k represents the light signal intensity point sequence of the image to be authenticated, O1(x1,y1) and O2(x2,y2) represent the image to be transmitted and the image to be authenticated respectively, I 1,k (x1, y1) represents the speckle pattern generated at the kth moment at the lateral coordinate (x1, y1) of the object surface of the image to be transmitted, I 2,k (x2, y2) represents the speckle pattern generated at the kth moment at the lateral coordinate (x2, y2) on the object surface of the image to be authenticated.
3. The optical encryption method for secure authentication based on computational correlation imaging according to claim 2, characterized in that: The speckle pattern I generated at the kth moment at the lateral coordinate (x, y) of the object surface of the image is calculated according to the following formula: k (x,y): Among them, FrT λ,z [·] represents the Fresnel transform with wavelength λ and distance z, φ k (x, y) represents the random phase loaded by the spatial light modulator, i represents the imaginary unit, || 2 It means taking the absolute value and then performing the square operation.
4. The optical encryption method for secure authentication based on computational correlation imaging according to claim 1, characterized in that: Step 3 specifically includes: The light signal intensity point sequences of the image to be transmitted and the image to be authenticated are normalized, and the normalized light signal intensity point sequences of the image to be transmitted and the image to be authenticated are linearly combined to generate ciphertext.
5. A secure authentication optical decryption method based on computational correlation imaging, characterized in that: The optical encryption method according to any one of claims 1 to 4, wherein the optical decryption method comprises: The ciphertext is received through a public channel, the key is received through a private channel, and the image to be authenticated is shared with the sender in advance; The received key is used to recover the image to be transmitted and the image to be authenticated from the received ciphertext, and whether the received ciphertext is correct is determined based on the recovered image to be authenticated, including: Calculating a first reference speckle pattern using the received imaging parameters of the computational correlation imaging device and the first distance, and calculating a second reference speckle pattern using the received imaging parameters of the computational correlation imaging device and the second distance; The image to be authenticated is restored from the ciphertext based on the second reference speckle pattern, and the restored image to be authenticated is authenticated by using a nonlinear correlation function based on the shared image to be authenticated. If the authentication is successful, it indicates that the received ciphertext is correct. At this time, the image to be transmitted is restored from the ciphertext based on the first reference speckle pattern.
6. The optical decryption method for secure authentication based on computational correlation imaging according to claim 5, characterized in that: The following normalized second-order correlation function is used to recover the image to be authenticated or transmitted from the ciphertext based on the reference speckle pattern: Where t=1,2 Among them, g1(x1,y1) represents the restored image to be transmitted, g2(x2,y2) represents the restored image to be authenticated, I 1,k (x1,y1) and I 1,k (x1, y1) represent the first reference speckle pattern and the second reference speckle pattern respectively, B k Indicates ciphertext.
7. A secure authentication optical encryption device based on computational correlation imaging, characterized in that: include: A measuring module, used to measure and obtain a sequence of light signal intensity points of an image to be transmitted and a sequence of light signal intensity points of an image to be authenticated by using the computational correlation imaging device; wherein the distance between the image to be transmitted and the spatial light modulator in the computational correlation imaging device is a first distance, and the distance between the image to be authenticated and the spatial light modulator is a second distance, and the first distance is not equal to the second distance; A ciphertext generation module, used to generate ciphertext according to the optical signal intensity point sequence of the image to be transmitted and the optical signal intensity point sequence of the image to be authenticated; The communication module is used to send the ciphertext to the receiver through a public channel, and send the imaging parameters, the first distance and the second distance of the calculated associated imaging device as keys to the receiver through a private channel, so that the receiver can use the keys to restore the image to be transmitted and the image to be authenticated from the ciphertext, and judge whether the received ciphertext is correct according to the restored image to be authenticated.
8. A secure authentication optical decryption device based on computational correlation imaging, characterized in that: The optical encryption device as claimed in claim 7 comprises: A communication module, used for receiving the ciphertext through a public channel, receiving the key through a private channel, and sharing the image to be authenticated with the sender in advance; A decryption module is used to restore the image to be transmitted and the image to be authenticated from the received ciphertext using the received key, and judge whether the received ciphertext is correct according to the restored image to be authenticated, specifically comprising: calculating a first reference speckle pattern using the received imaging parameters of the computationally correlated imaging device and the first distance, and calculating a second reference speckle pattern using the received imaging parameters of the computationally correlated imaging device and the second distance; restoring the image to be authenticated from the ciphertext based on the second reference speckle pattern, authenticating the restored image to be authenticated based on the shared image to be authenticated using a nonlinear correlation function, if the authentication is successful, it indicates that the received ciphertext is correct, and at this time, restoring the image to be transmitted from the ciphertext based on the first reference speckle pattern.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the optical encryption method according to any one of claims 1 to 4 and / or the optical decryption method according to claim 5 or 6 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the optical encryption method according to any one of claims 1 to 4 and / or the optical decryption method according to claim 5 or 6 is implemented.
Citation Information
Patent Citations
Optical encryption method based on chaos and computer-generated holography
CN103117847A
Multi-image encrypting and decrypting method based on ghost imaging and public key cryptography
CN104284054A
Optical image encryption method for calculating ghost imaging by using phase iterative algorithm
CN110348232A
Compressed optical encryption and decryption method based on ghost imaging and image authentication
CN116668018A
Image authentication method based on aperture encryption and diffraction imaging
CN116933277A