Subject: | Bit-reversing |
Date: | Tue, 20 Jul 2010 13:43:39 -0700 (PDT) |
To: | bug-Digest-CRC [...] rt.cpan.org |
From: | "Joel Peshkin" <joel [...] peshkin.net> |
In Digest::CRC, it is possible to compute a CRC32 with a few types of
bit-reversal. Unfortunately, the bit reversal seems to apply to chunks of
32-bits at a time.
In numerous communication protocols, it is necessary to bit reverse each
input BYTE before passing it to Digest::CRC in order to match the math in
those protocols.
Could a second form of "revin" be added that bit-reverses the input bytes
without changing the order in which the bytes are processed?