title: AES256 Encryption/Decryption speed
body: <p>I am writing an application which encrypts and decrypts files. I am using CipherInputStream and CipherOutputStream for enryption/decryption process using AES256 bit cipher.</p>
  
  <p>My problem is if I take byte array and write to file makeing encryption on the fly it takes about 2 times less time than if I decrypt file creating a byte array. It is strange because as I know AES encryption and decryption are symmetric processes and they should take same amount of time to complete.</p>
  
  <p>Any ideas?</p>