An implementation of the Advanced Encryption Standard (AES) algorithm meant for study to go along with "A Stick Figure Guide to the Advanced Encryption Standard (AES)" blog post at www.moserware.com
The mentioned CBC is labelled as "better", but really, in 2019 it is just not good anymore…
We've seen the pitfalls. We don't need them if we have solutions for them.
and might be worth adding a note that modern crypto, eg TLS 1.3 don't use diffusion anymore:
http://www.moserware.com/assets/stick-figure-guide-to-advanced/aes_act_2_scene_03_diffusion_1100.png