New answers tagged

3 votes

Constant values of ChaCha20

The constant in Salsa20 and ChaCha20 is a nothing-up-my-sleeve string, expand 32-byte k. So it becomes more of a philosophical question about changing such ...
user71659's user avatar
  • 298
-2 votes

Constant values of ChaCha20

i think that changing the constants would likely compromise the security. Any changing could weaken the security of the algorithm.
RG Lee's user avatar
  • 1
3 votes

Does combining a stream cipher and block cipher produce any vulnerabilities?

With respect to confidentiality, cascading two ciphers (xChacha20 then AES-CBC in the question) with independent keys is at least as secure as either cipher against KPA and CPA attacks. That's ...
fgrieu's user avatar
  • 138k
2 votes

What is the advantage of CFB over OFB?

Advantages of CFB over OFB: Ability to parallel decryption, and hence it has better performance. Ability to random read access during decryption. There is no need to calculate all previous (expensive)...
backdround's user avatar

Top 50 recent answers are included