add AES encryption to data chunks