by _urga · 7y ago · 0 comments
CBC is not an option that you should be considering in 2019.
https://blog.cloudflare.com/padding-oracles-and-the-decline-...
TLS's AES-CBC is MTE not ETM, and that distinction matters [1]. You shouldn't use CBC mode in SSL/TLS. (You also shouldn't be supporting SSL; only TLS.)
But an application-layer AE construction [2] as described in the article is fine.
[1] https://moxie.org/blog/the-cryptographic-doom-principle
[2] https://github.com/defuse/php-encryption/blob/b87737b2eec06b...