Computation (Mar 2024)

Practical Improvement in the Implementation of Two Avalanche Tests to Measure Statistical Independence in Stream Ciphers

  • Evaristo José Madarro-Capó,
  • Eziel Christians Ramos Piñón,
  • Guillermo Sosa-Gómez,
  • Omar Rojas

DOI
https://doi.org/10.3390/computation12030060
Journal volume & issue
Vol. 12, no. 3
p. 60

Abstract

Read online

This study describes the implementation of two algorithms in a parallel environment. These algorithms correspond to two statistical tests based on the bit’s independence criterion and the strict avalanche criterion. They are utilized to measure avalanche properties in stream ciphers. These criteria allow for the statistical independence between the outputs and the internal state of a bit-level cipher to be determined. Both tests require extensive input parameters to assess the performance of current stream ciphers, leading to longer execution times. The presented implementation significantly reduces the execution time of both tests, making them suitable for evaluating ciphers in practical applications. The evaluation results compare the performance of the RC4 and HC256 stream ciphers in both sequential and parallel environments.

Keywords