1
$\begingroup$

Would using the keys (as in two passes with a key each) increase security for Salsa20 or ChaCha stream ciphers increase security?

$\endgroup$

1 Answer 1

1
$\begingroup$

Would using the keys (as in two passes with a key each) increase security for Salsa20 or ChaCha stream ciphers increase security?

More or less.
It wouldn't increase the difficulty of brute-force by a lot (one bit to be precise) due to the infamous meat-in-the-middle-attack if you would use the same keylength, if you used different ones the effective keylength would be the higher of the two lengths.

What it would do though, is to increase the cryptanalytic security of the construction. Ie an attacker would have to successfully break both ciphers with cryptanalysis which is indeed more unlikely than him breaking one.

Is it worth it? No. The extra keybit is not that valueable and it's already a matter of "meh, can't break" anyways even with a single cipher. Regarding the cryptanalytic defense, neither ChaCha nor Salsa have been broken, but these ciphers are quite similar so you don't get the advantage you would get from two ciphers with radically different designs.

$\endgroup$
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.