3 ms·
Under the hood chacha is a block cipher too. It just happens to have counter mode baked in, which turns it into a stream cipher.
by the8472 10y ago
Under the hood chacha is a block cipher too. It just happens to have counter mode baked in, which turns it into a stream cipher.
- nightcracker 10y agoUnder the hood ChaCha is a 128 bit -> 512 bit hash function with a 128 bit key, running in CTR mode to get a stream cipher. It is most assuredly NOT a block cipher under the hood.
- loup-vaillant 10y agoErr, the key can be 256-bits. This is the preferred key size these days.
- nightcracker 10y agoOops, that should indeed be 256 bits (8 * 32 = 256). The rest of the comment stands though.