title: Meaning of "AES" cipher in Android?
body: <p>I have inherited Android code that uses the following cipher:</p>
  
  <pre><code>ks = new SecretKeySpec(key, "AES");
  ciph = Cipher.getInstance("AES");
  </code></pre>
  
  <p>As only "AES" is given, I don't know what the keysize, modes, and padding are. I've looked over the Bouncy Castle* documentation, but I can't find where the "AES" instance is described. I'd like to use a more explicit instance description (e.g. "AES/ECB/PCKS5Padding"), if I can. </p>
  
  <p>Does anyone know what the keysize, modes, and padding are of this instance?</p>
  
  <p>Thanks!</p>
  
  <p>*I've read that Android uses Bouncy Castle as its default provider, but I haven't found that anywhere official, so I could be making an unhelpful assumption here.</p>