A Comparison of Diffusion Properties of Salsa, ChaCha, and MCC Core
Salsa Core, ChaCha Core, and MCC (Modified ChaCha) Core are cryptographic primitives that take 64-byte input and mix this input to generate 64-byte output. Both Salsa and ChaCha cores, have been used to generate stream ciphers. Salsa is also listed as one of the eSTREAM profile cipher. This paper compares the diffusion properties of all these three cryptographic primitives and share the results. Comparison of Quarter rounds of all these competing cores had been done already but the Column and Row/Diagonal rounds of these cores differ considerably and comparison of full Double rounds of these cores is essential to determine their relative performance. Based on the diffusion characteristics and behavior of these cores, this study proposes alternative rotation distances for better diffusion. Comparative analysis reflects that MCC core performs better than both Salsa and ChaCha core.
KeywordsSalsa ChaCha MCC Modified ChaCha Diffusion Diffusion matrix
- 2.ECRYPT: European Network of Excellence for Cryptology, The eSTREAM Project. http://www.ecrypt.eu.org/stream/project.html
- 3.Bernstein, D.J.: ChaCha, a variant of Salsa20. http://cr.yp.to/chacha/chacha-20080128.pdf
- 5.Aumasson, J.-P., Fischer, S., Khazaei, S., Meier, W., Rechberger, C.: New features of Latin dances: analysis of Salsa, ChaCha, and Rumba. In: Nyberg, K. (ed.) FSE 2008. LNCS, vol. 5086, pp. 470–488. Springer, Heidelberg (2008)Google Scholar
- 6.Bernstein, D.J.: The Rumba20 compression function. http://cr.yp.to/rumba20.html
- 7.Aumasson, J.P., Henzen, L., Meier, W., Phan, R.C.-W.: SHA-3 Proposal BLAKE. http://csrc.nist.gov/groups/ST/hash/sha-3/Round3/submissions_rnd3.html