Java classes for encoding and protecting ascii text Hamming Huffman