RE: Help with SHA class
RE: Help with SHA class
- Subject: RE: Help with SHA class
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Thu, 4 Jun 2009 12:44:59 -0400
- Thread-topic: Help with SHA class
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 (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