SSCrypto and Public Key Decryption
SSCrypto and Public Key Decryption
- Subject: SSCrypto and Public Key Decryption
- From: "Hell's KItchen Hell's KItchen" <email@hidden>
- Date: Sat, 17 Mar 2007 15:36:36 +0100
Hello,
I'm using SSCrypto in order to implement a shareware license scheme. I
need to encrypt an email address with a private key with my license
generator (it works perfectly) and then decrypt (and verify) the given
encoded license string in my program (to see if it's the same of the
given address).
I've created this code:
http://paste.lisp.org/display/38269
Unfortunatly when I try to create an SSCrypto class with only public
key and set the encoded string to decode the results it's null every
time.
The function into the link is:
- (BOOL) verifyGeneratedKey:(NSString *) generatedEncodedLicense
withGivenAddress:(NSString *) address;
Can anyone tell me where I'm wrong in that code?
Thanks a lot
rekot
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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