5 ms·
Yes. Apart from disk encryption, they are pretty much interchangeable (OP talked about IPSec).
by dchest 14y ago
Yes. Apart from disk encryption, they are pretty much interchangeable (OP talked about IPSec).
- tptacek 14y agoAES is normally benchmarked against other block ciphers. It might not be fair to compare the performance of a native stream cipher to that of AES rigged up as a stream cipher with CTR.
- floody-berry 14y agoWhat makes the comparison unfair?
- tptacek 14y agoThe other ciphers are natively stream ciphers, and AES is a block cipher adapted via CTR mode to be a stream cipher.
- floody-berry 14y agoI'm still missing what makes it unfair. Are other modes of AES potentially faster? Does AES provide something that stream ciphers don't? Are Salsa20/Chacha20 unable to be compared to anything because they're native stream ciphers that look like a block cipher in CTR mode under the hood?
- tptacek 14y ago1. Yes. 2. Yes. 3. No.