On Thu, 4 Jun 2009 09:29:43 -0400 Ken Tozier wrote
> 
> I wrote a SHA class using the algorithm at 
> http://en.wikipedia.org/wiki/SHA1#SHA-1_pseudocode 

<<SNIP>>

When in doubt, go to the source!

http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf

It's pretty easy to implement from that, unlike AES.

Also look at
http://csrc.nist.gov/groups/ST/toolkit/secure_hashing.html

and the testing page at
http://csrc.nist.gov/groups/STM/cavp/index.html#03
for a complete list of testvectors. 

Good luck,
Cem Karan
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to