Pipeline algorithms of RSA data encryption and data compression

Various pipeline algorithms of data compression and encryption are designed to assess the impact of encryption on data compression. The first pipeline shows that encryption fails to map a large amount of redundancy for the input file into a favourable form for its later compression. The second pipeline, however, offers a good potential to improve the compressed output for further compression by another compression algorithm. The pipeline algorithm also identifies the different performance between dictionary data compression and statistical compression algorithms. In addition, the compression prior to encryption improves the efficiency of encryption and lead to the possible development of a multifunctional algorithm which could operate as both compression and encryption.