title: is AES key random?
body: <p>AES key may be generate by this code</p>
  
  <pre><code>KeyGenerator kgen = KeyGenerator.getInstance("AES");
  kgen.init(128); 
  </code></pre>
  
  <p>but </p>
  
  <p>If I have a "very reliable" method of generating random numbers can I use it in such a way</p>
  
  <pre><code>SecureRandom rnd = new SecureRandom();
  byte[] key = new byte[16];
  rnd.nextBytes(key);
  </code></pre>
  
  <p>is key obtained by this method reliable ?</p>
  
  <p>or it ONLY must generated by some SPECIAL algorithm</p>