title: How to choose an AES encryption mode (CBC ECB CTR OCB CFB)?
body: <p>Which of them are preferred in which circumstances? </p>
  
  <p>I'd like to see the list of evaluation crtieria for the various modes, and maybe a discussion of the applicability of each criterion. </p>
  
  <p>For example,
  I think one of the criteria is "size of the code" for encryption and decryption, which is important for micro-code embedded systems, like 802.11 network adapters. IF the code required to implement CBC is much smaller than that required for CTR (I don't know this is true, it's just an example), then I could understand why the mode with the smaller code would be preferred.  But if I am writing an app that runs on a server, and the AES library I am using implements both CBC and CTR anyway, then this criterion is irrelevant. </p>
  
  <p>See what I mean by "list of evaluation criteria and applicability of each criterion" ??  </p>
  
  <p>This isn't really programming related but it is algorithm related.</p>