to make the aes encrypt after compress and decrypt before decompress