Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VH2 error

1 view
Skip to first unread message

David A. Scott

unread,
Jun 28, 2005, 6:43:25 PM6/28/05
to
Someone who may want to stay anonymouse reported an error on VH2
its the huffman compressor that grabs 2 bytes at a time. It does
have ending problems for some files. Just thought I would let people
know. I am not perfect.

David A. Scott
--
My Crypto code
http://bijective.dogma.net/crypto/scott19u.zip
http://www.jim.com/jamesd/Kong/scott19u.zip old version
My Compression code http://bijective.dogma.net/
**TO EMAIL ME drop the roman "five" **
Disclaimer:I am in no way responsible for any of the statements
made in the above text. For all I know I might be drugged.
As a famous person once said "any cryptograhic
system is only as strong as its weakest link"

David A. Scott

unread,
Jun 29, 2005, 8:22:41 AM6/29/05
to
"David A. Scott" <daVvid_...@email.com> wrote in
news:Xns9683AA2A8BD69H1...@213.155.197.138:

> Someone who may want to stay anonymouse reported an error on VH2
> its the huffman compressor that grabs 2 bytes at a time. It does
> have ending problems for some files. Just thought I would let people
> know. I am not perfect.
>

When I moded the code to work for 16 bit symbols I used byte IO
to and from the original file to be compressed or decompressed. I
used several flags. This was an overcomlication. Know all IO is
treated as a bit file and bit_byts handles the overhead. It should
now work for all files no matter if they are an even number of
bytes or an odd number of bytes.

Hopefully for any file X
uncompress( compress( X ) ) = X
and
compress( uncompress( X ) ) = X

0 new messages