Lei Zhang
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Lei Zhang has a total of 14 co-authors. Here are the top co-authors by number of shared publications:
- Wenling Wu
Institute of Software, Chinese Academy of Sciences, Beijing, China
5 shared publications - Yafei Zheng
Institute of Software
3 shared publications - Yuhan Zhang
Trusted Computing and Information Assurance Laboratory, Institute of Software Chinese Academy of Science, Beijing, China
2 shared publications - Chan Song
Institute of Software, Chinese Academy of Sciences,Beijing,China,100190
1 shared publication - Haiyi Xu
Trusted Computing and Information Assurance Laboratory, Institute of Software Chinese Academy of Science, Beijing, China
1 shared publication Ruichen Wu
Institute of Software, Chinese Academy of Sciences
1 shared publication
Latest Publications
- Open Access
- 6 November 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 20 (15566013) , 12328-12341
A Novel Evaluation Algorithm for Identifying Optimal Datasets in Differential-Based Neural Distinguisher
Recently, the cryptography community has witnessed growing interest in a novel attack called Differential Neural Cryptanalysis, which combines deep learning with differential cryptanalysis. This approach has demonstrated superior performance compared to classical techniques for certain ciphers. However, the differential-based neural distinguisher, as its core component, is highly specialized and presents challenges in adapting to other ciphers. The two major challenges limit its broader applicability: the lack of efficient methods for identifying high-quality input differences, which are critical for constructing datasets to train differential-based neural distinguishers; and the dependence on customized neural network structures tailored to specific ciphers. In this paper, we address the first challenge by introducing a new evaluation metric, the Differential Distribution Cluster (DDC) degree, inspired by information entropy. This metric provides a reliable measure for evaluating input differences and enables the construction of optimal datasets. Using the DDC degree, our proposed two-stage evaluation algorithm achieves significant time efficiency, evaluating each input difference in approximately 1.028 seconds. We apply the algorithm to several Feistel, SPN, and ARX-type block ciphers, successfully identifying their optimal input differences. Notably, we provide the first differential-based neural distinguishers for 7-round GIFT-64, 8-round GIFT-128, and 11-round SPECK128/256, and improve the state-of-the-art for LBLOCK, HIGHT, and SPECK64/128.
- 6 November 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 20 (15566013) , 12328-12341
Open AccessA Novel Evaluation Algorithm for Identifying Optimal Datasets in Differential-Based Neural Distinguisher
Recently, the cryptography community has witnessed growing interest in a novel attack called Differential Neural Cryptanalysis, which combines deep learning with differential cryptanalysis. This approach has demonstrated superior performance compared to classical techniques for certain ciphers. However, the differential-based neural distinguisher, as its core component, is highly specialized and presents challenges in adapting to other ciphers. The two major challenges limit its broader applicability: the lack of efficient methods for identifying high-quality input differences, which are critical for constructing datasets to train differential-based neural distinguishers; and the dependence on customized neural network structures tailored to specific ciphers. In this paper, we address the first challenge by introducing a new evaluation metric, the Differential Distribution Cluster (DDC) degree, inspired by information entropy. This metric provides a reliable measure for evaluating input differences and enables the construction of optimal datasets. Using the DDC degree, our proposed two-stage evaluation algorithm achieves significant time efficiency, evaluating each input difference in approximately 1.028 seconds. We apply the algorithm to several Feistel, SPN, and ARX-type block ciphers, successfully identifying their optimal input differences. Notably, we provide the first differential-based neural distinguishers for 7-round GIFT-64, 8-round GIFT-128, and 11-round SPECK128/256, and improve the state-of-the-art for LBLOCK, HIGHT, and SPECK64/128.
- 1 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in Chinese Journal of Electronics
- Vol. 34 (3) , 828-838
Meet-in-the-Middle Key Recovery Attacks on Rocca Using Differential and Integral Properties
Rocca is an Advanced Encryption Standard (AES)-based authentication encryption scheme proposed in 2021 for beyond the fifth/sixth generation systems. The latest version of Rocca injects the key into the initialization, which makes the key recovery attack on its original version no longer valid here. In this paper, we propose new key recovery attacks based on the idea of meet-in-the-middle. Benefiting from the design of the round function, we can treat each 128-bit block as a unit and then write the expressions of the internal states in terms of the initial state and the final state, respectively. Among them, we focus on the state blocks with relatively concise expressions, which have poor diffusion, and then explore their differential and integral properties. Next, in the key recovery attacks, we first guess a part of the key to calculate the specific values of state blocks at the middle matching positions, and then use the differential or integral properties on these blocks to validate the key guesses. Uniquely, in our integral crypt-analysis, we impose appropriate conditions to constrain the propagation of nonce, which corresponds to the weak keys. Consequently, we present the 9 and 10 rounds of meet-in-the-middle key recovery attacks on Rocca, as well as the weak key recovery attack for the 11-round Rocca based on integral properties, with four sets of weak keys with 2224 keys each.
- 1 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in Chinese Journal of Electronics
- Vol. 34 (3) , 828-838
Meet-in-the-Middle Key Recovery Attacks on Rocca Using Differential and Integral Properties
Rocca is an Advanced Encryption Standard (AES)-based authentication encryption scheme proposed in 2021 for beyond the fifth/sixth generation systems. The latest version of Rocca injects the key into the initialization, which makes the key recovery attack on its original version no longer valid here. In this paper, we propose new key recovery attacks based on the idea of meet-in-the-middle. Benefiting from the design of the round function, we can treat each 128-bit block as a unit and then write the expressions of the internal states in terms of the initial state and the final state, respectively. Among them, we focus on the state blocks with relatively concise expressions, which have poor diffusion, and then explore their differential and integral properties. Next, in the key recovery attacks, we first guess a part of the key to calculate the specific values of state blocks at the middle matching positions, and then use the differential or integral properties on these blocks to validate the key guesses. Uniquely, in our integral crypt-analysis, we impose appropriate conditions to constrain the propagation of nonce, which corresponds to the weak keys. Consequently, we present the 9 and 10 rounds of meet-in-the-middle key recovery attacks on Rocca, as well as the weak key recovery attack for the 11-round Rocca based on integral properties, with four sets of weak keys with 2224 keys each.
- 5 February 2025
- Published by Springer Nature in Designs, Codes and Cryptography
- Vol. 93 (6) , 2013-2054
A new automatic framework for searching rotational-XOR differential characteristics in ARX ciphers
- 5 February 2025
- Published by Springer Nature in Designs, Codes and Cryptography
- Vol. 93 (6) , 2013-2054
A new automatic framework for searching rotational-XOR differential characteristics in ARX ciphers
- 23 August 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 73 (12) , 2776-2790
Single-Key Attack on Full-Round Shadow Designed for IoT Nodes
With the rapid advancement of the Internet of Things (IoT), many innovative lightweight block ciphers have been introduced to meet the stringent security demands of IoT devices. Among these, the Shadow cipher stands out for its compactness, making it particularly well-suited for deployment in resource-constrained IoT nodes (IEEE Internet of Things Journal, 2021). This paper demonstrates two real-time attacks on Shadow for the first time: real-time plaintext recovery and key recovery. Firstly, numerous properties of Shadow are discussed, illustrating an equivalent representation of the two-round Shadow and the relationship between the round keys. Secondly, we introduce multiple two-round iterative linear approximations. Employing these approximations enables the derivation of full-round linear distinguishers. Moreover, we have uncovered numerous linear relationships between plaintext and ciphertext. Real-time plaintext recovery is achievable based on these established relationships. On average, it takes 5 seconds to recover the plaintext for a fixed ciphertext of Shadow-32. Thirdly, many properties of the propagation of difference through SIMON-like function are illustrated. According to these properties, various differential distinguishers up to full rounds are presented, allowing real-time key recovery. Specifically, the 64-bit master key of Shadow-32 can be retrieved in around two days on average. Experiments verify all our results.
- 23 August 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 73 (12) , 2776-2790
Single-Key Attack on Full-Round Shadow Designed for IoT Nodes
With the rapid advancement of the Internet of Things (IoT), many innovative lightweight block ciphers have been introduced to meet the stringent security demands of IoT devices. Among these, the Shadow cipher stands out for its compactness, making it particularly well-suited for deployment in resource-constrained IoT nodes (IEEE Internet of Things Journal, 2021). This paper demonstrates two real-time attacks on Shadow for the first time: real-time plaintext recovery and key recovery. Firstly, numerous properties of Shadow are discussed, illustrating an equivalent representation of the two-round Shadow and the relationship between the round keys. Secondly, we introduce multiple two-round iterative linear approximations. Employing these approximations enables the derivation of full-round linear distinguishers. Moreover, we have uncovered numerous linear relationships between plaintext and ciphertext. Real-time plaintext recovery is achievable based on these established relationships. On average, it takes 5 seconds to recover the plaintext for a fixed ciphertext of Shadow-32. Thirdly, many properties of the propagation of difference through SIMON-like function are illustrated. According to these properties, various differential distinguishers up to full rounds are presented, allowing real-time key recovery. Specifically, the 64-bit master key of Shadow-32 can be retrieved in around two days on average. Experiments verify all our results.
- Open Access
- 18 June 2024
- Published by Universitatsbibliothek der Ruhr-Universitat Bochum in IACR Transactions on Symmetric Cryptology
- Vol. 2024 (2) , 322-347
A Framework to Improve the Implementations of Linear Layers
This paper presents a novel approach to optimizing the linear layer of block ciphers using the matrix decomposition framework. It is observed that the reduction properties proposed by Xiang et al. (in FSE 2020) need to be improved. To address these limitations, we propose a new reduction framework with a complete reduction algorithm and swapping algorithm. Our approach formulates matrix decomposition as a new framework with an adaptive objective function and converts the problem to a Graph Isomorphism problem (GI problem). Using the new reduction algorithm, we were able to achieve lower XOR counts and depths of quantum implementations under the s-XOR metric. Our results outperform previous works for many linear layers of block ciphers and hash functions; some of them are better than the current g-XOR implementation. For the AES MixColumn operation, we get two implementations with 91 XOR counts and depth 13 of in-place quantum implementation, respectively.
- 18 June 2024
- Published by Universitatsbibliothek der Ruhr-Universitat Bochum in IACR Transactions on Symmetric Cryptology
- Vol. 2024 (2) , 322-347
Open AccessA Framework to Improve the Implementations of Linear Layers
This paper presents a novel approach to optimizing the linear layer of block ciphers using the matrix decomposition framework. It is observed that the reduction properties proposed by Xiang et al. (in FSE 2020) need to be improved. To address these limitations, we propose a new reduction framework with a complete reduction algorithm and swapping algorithm. Our approach formulates matrix decomposition as a new framework with an adaptive objective function and converts the problem to a Graph Isomorphism problem (GI problem). Using the new reduction algorithm, we were able to achieve lower XOR counts and depths of quantum implementations under the s-XOR metric. Our results outperform previous works for many linear layers of block ciphers and hash functions; some of them are better than the current g-XOR implementation. For the AES MixColumn operation, we get two implementations with 91 XOR counts and depth 13 of in-place quantum implementation, respectively.
- 8 December 2023
- Published by Springer Nature in Designs, Codes and Cryptography
- Vol. 92 (5) , 1175-1199
Observations on the branch number and differential analysis of SPEEDY
- 8 December 2023
- Published by Springer Nature in Designs, Codes and Cryptography
- Vol. 92 (5) , 1175-1199
Observations on the branch number and differential analysis of SPEEDY
- 15 June 2023
- Published by Springer Nature
- p. 109-123
Related-Cipher Attacks: Applications to Ballet and ANT
- 15 June 2023
- Published by Springer Nature
- p. 109-123
Related-Cipher Attacks: Applications to Ballet and ANT
- 19 February 2023
- Published by Springer Nature
- p. 23-42
LLLWBC: A New Low-Latency Light-Weight Block Cipher
- 19 February 2023
- Published by Springer Nature
- p. 23-42
LLLWBC: A New Low-Latency Light-Weight Block Cipher