Efficient Compression and Encryption for Digital Data Transmission