PNB Based Differential Cryptanalysis of Salsa20 and ChaCha

被引:4
|
作者
Ghafoori, Nasratullah [1 ]
Miyaji, Atsuko [1 ]
Ito, Ryoma [2 ]
Miyashita, Shotaro [1 ]
机构
[1] Osaka Univ, Grad Sch Engn, Suita 565 0871, Japan
[2] Natl Inst Informat & Commun Technol, Koganei 1848795, Japan
关键词
stream cipher; Salsa20; ChaCha; differential cryptanalysis; PNBs; REDUCED ROUND SALSA;
D O I
10.1587/transinf.2022ICP0015
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper introduces significant improvements over the existing cryptanalysis approaches on Salsa20 and ChaCha stream ciphers. For the first time, we reduced the attack complexity on Salsa20/8 to the lowest possible margin. We introduced an attack on ChaCha7.25. It is the first attack of its type on ChaCha7.25/20. In our approach, we studied differential cryptanalysis of the Salsa20 and ChaCha stream ciphers based on a comprehensive analysis of probabilistic neutral bits (PNBs). The existing differential cryptanalysis approaches on Salsa20 and ChaCha stream ciphers first study the differential bias at specific input and output differential positions and then search for probabilistic neutral bits. However, the differ- ential bias and the set of PNBs obtained in this method are not always the ideal combination to conduct the attack against the ciphers. The researchers have not focused on the comprehensive analysis of the probabilistic neutrality measure of all key bits concerning all possible output difference positions at all possible internal rounds of Salsa20 and ChaCha stream ciphers. Moreover, the relationship between the neutrality measure and the number of inverse quarter rounds has not been scrutinized yet. To address these study gaps, we study the differential cryptanalysis based on the comprehensive analysis of probabilistic neutral bits on the reduced-round Salsa20 and ChaCha. At first, we comprehensively analyze the neutrality measure of 256 key bits positions. Afterward, we select the output difference bit position with the best average neutrality measure and look for the corresponding input differential with the best differential bias. Considering all aspects, we present an attack on Salsa20/8 with a time complexity of 2(241.62) and data complexity of 2(31.5), which is the best-known single bit differen- tial attack on Salsa20/8 and then, we introduced an attack on ChaCha7.25 rounds with a time complexity of 2(254.011) and data complexity of 2(51.81).
引用
收藏
页码:1407 / 1422
页数:16
相关论文
共 50 条
  • [31] Salsa20 Cipher: Assigning Values to Probabilistic Neutral Key Bits
    Sharma, Nitin Kumar
    Dey, Sabyasachi
    APPLIED CRYPTOGRAPHY AND NETWORK SECURITY WORKSHOPS, PT II, ACNS 2024-AIBLOCK 2024, AIHWS 2024, AIOTS 2024, SCI 2024, AAC 2024, SIMLA 2024, LLE 2024, AND CIMSS 2024, 2024, 14587 : 209 - 213
  • [32] Improved key recovery attacks on reduced-round Salsa20
    Dey, Sabyasachi
    Leander, Gregor
    Sharma, Nitin Kumar
    DESIGNS CODES AND CRYPTOGRAPHY, 2025, 93 (01) : 243 - 262
  • [33] 5轮Salsa20的代数-截断差分攻击
    关杰
    张中亚
    软件学报, 2013, 24 (05) : 1111 - 1126
  • [34] Improving the Diffusion of the Stream Cipher Salsa20 by Employing a Chaotic Logistic Map
    Almazrooie, Mishal
    Samsudin, Azman
    Singh, Manmeet Mahinderjit
    JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2015, 11 (02): : 310 - 324
  • [35] Boosting Differential-Linear Cryptanalysis of ChaCha7 with MILP
    Bellini, Emanuele
    Gerault, David
    Grados, Juan
    Makarim, Rusydi H.
    Peyrin, Thomas
    IACR TRANSACTIONS ON SYMMETRIC CRYPTOLOGY, 2023, 2023 (02) : 189 - 223
  • [36] Non-randomness in eSTREAM candidates Salsa20 and TSC-4
    Fischer, Simon
    Meier, Willi
    Berbain, Come
    Biasse, Jean-Francois
    Robshaw, M. J. B.
    PROGRESS IN CRYPTOLOGY - INDOCRYPT 2006, PROCEEDINGS, 2006, 4329 : 2 - +
  • [37] 一个改进的Salsa20流密码算法
    张中亚
    关杰
    丁林
    北京大学学报(自然科学版), 2011, 47 (02) : 201 - 207
  • [38] Proposed Color Image Lightweight Encryption using SALSA20 with Key Derivation Function
    Talib, Ebtehal
    Jamil, Abeer Salim
    Hassan, Nidaa Flaih
    BAGHDAD SCIENCE JOURNAL, 2025, 22 (01)
  • [39] 基于OpenCL的Salsa20算法实现与优化附视频
    尹浩
    于飞
    陈曼
    通信技术, 2020, (11) : 2790 - 2794
  • [40] Implementation of Stream Cipher Salsa20 Algorithm to Secure Voice on Push to Talk Application
    Afdhila, Diyana
    Nasution, Surya Michrandi
    Azmi, Fairuz
    2016 IEEE ASIA PACIFIC CONFERENCE ON WIRELESS AND MOBILE (APWIMOB), 2016, : 137 - 141