Updating to the latest version of the SHA1 class fixes the problem.

http://www.dominik-reichl.de/articles/csha1/csha1.shtml

Two small changes have to be made to the ReAdW source

SHA1 -> CSHA1
REPORT_HEX -> REPORT_HEX_SHORT

Perhaps one of the SPC folks could incorporate this change into the 
release version of ReAdW?

Thanks,

-c



Christopher Mason wrote:
> Brian Pratt wrote:
>> This is one of those that comes up periodically - check the archives for a
>> fuller explanation, but the main thing is that you're calculating the
>> checksum of the file including the checksum inside the file.  Not the same
>> thing, so not the same checksum.
> 
> I understand that this is the case for the mzxml checksum.
> 
> However, I'm talking about the checksum of the RAW file, and moreover, 
> the checksum of the string 'abc' using the sha1 code that's in ReAdW. 
> This should be invariant.  As far as I can tell, the checksum code is 
> either wrong, or works improperly as compiled under windows.
> 
> -c
> 


-- 
Christopher Mason   Proteome Software    (503) 244-6027

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to