title: CryptoJS AES Increase File Size
body: <p>Thank you for your help.</p>
  
  <p>I have a problem with sjcl library or cryptojs aes library.
  Everytime i encrypt my file with aes the file size is * 2.
  For example: When i upload a 4mb file then there is a 8mb file on my server.</p>
  
  <p>I split the file on block which bytesize can be divided by 16.</p>
  
  <p>Please help me</p>
  
  <p>This is the way i encrypt the file:</p>
  
  <pre><code>var l_EncryptetData = CryptoJS.AES.encrypt(p_ChunkData, p_FileKey).toString();
  </code></pre>
  
  <p>And this is a example array with block sizes from the 4mb file:</p>
  
  <pre><code>0: 1572864
  1: 1572864
  2: 867005
  length: 3
  </code></pre>
  
  <p>And the FileKey is a SHA-256 Hash</p>