Help with SHA class
Help with SHA class
- Subject: Help with SHA class
- From: Ken Tozier <email@hidden>
- Date: Thu, 4 Jun 2009 09:29:43 -0400
Hi
I wrote a SHA class using the algorithm at http://en.wikipedia.org/wiki/SHA1#SHA-1_pseudocode
and while it runs without crashing, the hashes it produces are not
the same as those from numerous online SHA-1 hashing converters. Of
particular confusion is the issue of byte swapping and how that might
affect the rotation/addition operations within the block hashing
method. I'm clearly doing something wrong, but after several days of
trying, I haven't been able to get the hashes to match online examples.
Could someone with knowledge of SHA take a look at the class and point
out where I'm messing up?
Any help appreciated.
Attachment:
SHAClass.zip
Description: Zip archive
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden