Checksum computation overhaul
authorJoe Atzberger <atz@esilibrary.com>
Mon, 24 May 2010 22:52:21 +0000 (22:52 +0000)
committerThomas Berezansky <tsbere@mvlc.org>
Mon, 24 May 2010 22:52:21 +0000 (22:52 +0000)
commitb4803216cbf6bd7529884aa4c69faf0cef7a1eee
tree4c11fd84337a23472d5974b61d2ceec1d8115fc7
parent0c10729205555f4691d7f21027f5bf0714f1c850
Checksum computation overhaul

This adds advanced debugging of checksum computation.

Note: good sample data is lacking.  I think most of the actual
checksum lines included in the test are questionable.  The only
one that computes accurately seems to be the example from the
3M SIP Developers Guide that specifically addresses checksum
computation.  The others from the same guide seem invalid!

I think the debugging output suggests the implementation is
consistent with the specified instructions, despite unavailability
of sample data to confirm.
Sip/Checksum.pm
t/0001_checksum.t [new file with mode: 0755]