Re: SSCrypto to PHP
Re: SSCrypto to PHP
- Subject: Re: SSCrypto to PHP
- From: Jerry Krinock <email@hidden>
- Date: Mon, 8 Sep 2008 21:03:20 -0700
Hello Walter,
Since your message has been languishing for over 8 hours now I figured
that my two cents might be better than nothing. I spent a few minutes
reading your code but got too confused. Example:
NSString *password = secretMessage;
Seems weird to set your password equal to the message.
Anyhow, assuming that you've done all this for good reason, you have
to realize that you're dealing with some pretty poorly documented API
there, OpenSSL and SSCrypto. I recently had the fun of creating an
RSA signature using Perl's OpenSSL wrapper and verifying with the
openssl library in my Cocoa app. It took a day or two of guessing
before I got it working. The only advice I can give is to not assume
anything, doubt the documentation, watch out for hidden hash
functions, try to strip your code down to the barest essential and
don't be afraid to poke around inside SSCrypto.
_______________________________________________
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