An other alternative is using the CommonCrypto API (which does not
require to link on other library like OpenSSL).
man "Common Crypto"
Le 4 juin 09 à 18:23, KK a écrit :
I ran into a similar problem - but I decided to use libcrypto:
man 3 sha1
or
man 3 EVP_DigestInit
Keita
On Thu, Jun 4, 2009 at 9:29 AM, Ken Tozier <kentoz...@comcast.net>
wrote:
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.
_______________________________________________
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/kthemank%40gmail.com
This email sent to kthem...@gmail.com
_______________________________________________
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/devlists%40shadowlab.org
This email sent to devli...@shadowlab.org
_______________________________________________
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