Design and Implementation of a Statistical Testing Framework for a Lightweight Stream Cipher
Authors:
Open Access
- 3 February 2020
- journal article
- research article
- Published by Engineering, Technology & Applied Science Research in Engineering, Technology & Applied Science Research
- Vol. 10 (1) , 5132-5141
Abstract
The Shrinking Generator (SG) is a popular synchronous, lightweight stream cipher that uses minimal computing power. However, its strengths and weaknesses have not been studied in detail. This paper proposes a statistical testing framework to assess attacks on the SG. The framework consists of a d-monomial test that is adapted to SG by applying the algebraic normal form (ANF) representation of Boolean functions, a test that uses the maximal degree monomial test to determine whether the ANF follows the proper mixing of bit values, and a proposed unique window size (UWS) scheme to test the randomness properties of the keystream. The proposed framework shows significant weaknesses in the SG output in terms of dependence between the controlling linear-feedback shift register (LFSR) and non-linearity of the resulting keystream. The maximal degree monomial test provides a better understanding of the optimal points of SG, demonstrating when it is at its best and worst according to the first couple of results. This paper uses UWS to illustrate the effect of the LFSR choice on possibly distinguishing attacks on the SG. The results confirm that the proposed UWS scheme is a viable measure of the cryptographic strength of a stream cipher. Due to the importance of predictability and effective tools, we used neural network models to simulate the input data for the pseudo-random binary sequences. Through the calculation of UWS, we obtained solid results for the predictions.Keywords
This publication has 22 references indexed in Scilit:
- Lightweight Dynamic Crypto Algorithm for Next Internet GenerationEngineering, Technology & Applied Science Research, 2019
- Cryptanalysing the Shrinking GeneratorProcedia Computer Science, 2015
- Lightweight Cryptography for RFID TagsIEEE Security & Privacy, 2012
- Understanding Cryptography2010
- A Fast Correlation Attack on the Shrinking Generator2005
- A New Statistical Testing for Symmetric Ciphers and Hash Functions2002
- The Shrinking Generator2001
- A probabilistic correlation attack on the shrinking generator1998
- Towards Fast Correlation Attacks on Irregularly Clocked Shift Registers1995
- The Self-Shrinking Generator1994