AES encrypt (encode) and decrypt (decode) in CBC, GCM, CTR or ECB mode. Auto-generated IVs are prepended to the output.