Key Laboratory of Optoelectronic Devices and Systems of Ministry of Education and Guangdong Province, College of Physics and Optoelectronic Engineering, Shenzhen University, Shenzhen 518060, China
Fund Project:Project supported by the National Natural Science Foundation of China (Grant Nos. 61875129, 61705141, 61805152), the Sino-German Center for Research Promotion (Grant Nos. GZ1391, M-0044), and the Natural Science Foundation of Guangdong Province, China (Grant No. 2018A030310561)
Received Date:07 September 2020
Accepted Date:05 November 2020
Available Online:25 February 2021
Published Online:05 March 2021
Abstract:Hash functions, which can extract message digest from input messages as output, play an important role in digital signature and authentication. Meanwhile, Hash functions are essential in many cryptographic protocols and regimes. With the research becoming more and more in depth, a series of Hash functions is proposed, such as MD series and SHA series. At the same time, the security analysis and attacks against Hash functions are carried out. The security of Hash functions is threatened. In this case, how to improve the security of the Hash functions becomes the primary concern. In this paper, an optical Hash function based on the interaction between light and multiple scattering media is proposed. Unlike most of the traditional Hash functions which are based on mathematical transformations or complex logic operations, this method innovatively takes advantage of the natural random scattering effect of multiple scattering media on coherently modulated light, and realizes the “confusion” and “diffusion” of modulated light, which satisfies the core functional requirement of the Hash function: one-way encoding/encryption with strong security. The photoelectric hybrid system designed by this method can effectively simulate the "compression function" in the Hash function. Combined with the Sobel filter with feature extraction function, the input data of arbitrary length can be compressed and encrypted into the output with a fixed length of 256-bit (Hash value). The principle of the proposed optical Hash function can be described as follows. 1) Two 8-bit images with a size of 16×16 pixels are loaded in SLM1 (amplitude-only spatial modulator) and SLM2 (phase-only spatial modulator) respectively. 2) The coherent wavefront is modulated by SLM1 and SLM2, and then propagates on multiple scattering media. 3) A speckle pattern is recorded by CCD because of the confusion of multiple scattering media. 4) The features of the speckle pattern, which is extracted by Sobel filter, serve as the input of the next compression function. For the unpredicted and non-duplicated disorder multiple scattering media, it is tremendously difficult to determine the internal state of the multiple scattering media. Therefore, the proposed optical Hash function is considered to have a high security. A series of simulation results shows that the proposed optical Hash function has a good “avalanche effect” and “collision resistance”, and its security performance is comparable to that of the most widely used traditional Hash functions (MD5 and SHA-1). Keywords:optical information security/ optical Hash function/ multiple scattering media/ avalanche effect
$ {h}_{1}\left(x, y, u\right) $和$ {h}_{2}(x, y, v) $分别对应衍射距离为$ u $和$ v $的菲涅耳衍射的点扩散函数; $ u $和$ v $分别表示SLM2与MSM之间的距离以及MSM与CCD之间的距离; P代表MSM的函数; *代表卷积运算符; 3) 利用Sobel滤波器提取散斑图样的特征, 得到量化精度为8 bit的16 × 16图像H2: