title: Encryption with AES algorithm in Java
body: <p>I made a packet p, with some integers and boolean values.  The packet is as follows:</p>
  
  <pre><code>TCPPacket p=new TCPPacket(481,516,23,42,true,false,false,false,false,false,false,false,10,10);
  </code></pre>
  
  <p>How can I encrypt the packet with AES, in Java?</p>