Skip Menu |

This queue is for tickets about the Digest-CRC CPAN distribution.

Report information
The Basics
Id: 59575
Status: resolved
Priority: 0/
Queue: Digest-CRC

People
Owner: OLIMAUL [...] cpan.org
Requestors: joel [...] peshkin.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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?
i will check this and come back with a solution for you. Oliver
hi, the reverse options now allow to specify the blockwidth by pathing the width instead of simply the "1". Oliver