Implemented encryption with data compression.