Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

AES 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.


What makes the comparison unfair?


The other ciphers are natively stream ciphers, and AES is a block cipher adapted via CTR mode to be a stream cipher.


I'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?


1. Yes. 2. Yes. 3. No.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: