Implemented encryption chunking