title: AES using Base64 Encryption
body: <p>my target is to encrypt a String with AES
  I am using Base64 for encryption, because AES needs a byte array as input.
  Moreover i want every possible Char(including chinese and german Symbols) to be stored correctly </p>
  
  <pre><code>    byte[] encryptedBytes = Base64.decodeBase64 ("some input");
  System.out.println(new Base64().encodeToString(encryptedBytes));
  </code></pre>
  
  <p>I thought "some input" should be printed. Instead "someinpu" is printed.
  It is impossible for me to use sun.misc.* Instead i am using apache.commons.codec</p>
  
  <p>Does someone has a clue what's going wrong?</p>