Title :
Reducing the Length of Shannon-Fano-Elias Codes and Shannon-Fano Codes
Author :
Ruan, Xiaoyu ; Katti, Rajendra
Author_Institution :
Dept. of Electr. & Comput. Eng., North Dakota State Univ., Fargo, ND
Abstract :
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
Keywords :
cryptography; data compression; encoding; Huffman code; PMF; Shannon-Fano codes; Shannon-Fano-Elias codes; codeword truncation; data compression; deciphering; encoding process; encryption; probability mass function; Application software; Cryptography; Data compression; Data security; Databases; Decoding; Electronic mail; Huffman coding; Neodymium; Probability distribution;
Conference_Titel :
Military Communications Conference, 2006. MILCOM 2006. IEEE
Conference_Location :
Washington, DC
Print_ISBN :
1-4244-0617-X
Electronic_ISBN :
1-4244-0618-8
DOI :
10.1109/MILCOM.2006.302404