Storing text retrieval systems on CD-ROM: compression and encryption considerations
ACM Transactions on Information Systems (TOIS)
Elements of information theory
Elements of information theory
Improving Memory Encryption Performance in Secure Processors
IEEE Transactions on Computers
IEEE Transactions on Information Theory
Hi-index | 0.00 |
In some applications, both data compression and encryption are required. If the cryptanalyst knows the code construction rule and the probability mass function (PMF) of the source, then Huffman code provides no ambiguity, but Shannon-Fano-Elias coding is a good candidate since the order of symbols can be arbitrary in the encoding process, which produces exponential complexity for deciphering. However, the conventional Shannon-Fano-Elias code has relatively large expected length which makes it inefficient. In this paper, we propose two simple algorithms to reduce the expected length of Shannon-Fano-Elias code so that its efficiency is improved. This is achieved by first utilizing some proper PMF instead of the actual PMF in encoding, and then performing a codeword truncation. By applying the same strategy we can also reduce the length of Shannon-Fano codes.