The Laws of Cryptography:
The Huffman Code for Compression

by Neal R. Wagner

Copyright © 2001 by Neal R. Wagner. All rights reserved.

NOTE: This site is obsolete. See book draft (in PDF):

Law SHANNON2: In the absence of noise, it is always possible to encode or transmit a message with a number of bits arbitrarily close to the entropy of the message, but never less than the entropy [also known as Shannon's Noiseless Coding Theorem ].

Law COMPRESSION1: Just like Niven's law (never fire a laser at a mirror), one says: never compress a message that's already compressed.


Revision date: 2001-12-14. (Please use ISO 8601, the International Standard.)