Reputation: 3379
I have tried iPhone encryption using below post, But i dont know how to decrypt from encrypted data using RSA Encryption. Please direct me and send me sample code if possible. Also is it possible decrypt the data in server side like PHP, JAVA and .NET?
RSA Encryption-Decryption in iphone
Sri
Upvotes: 0
Views: 912
Reputation: 161
For PHP, check out Crypt_RSA in http://phpseclib.sourceforge.org . The problem with PEAR's Crypt_RSA is that it doesn't really conform to any published standard:
http:/pear.php.net/bugs/bug.php?id=16870
http:/pear.php.net/bugs/bug.php?id=7257
Upvotes: 1
Reputation: 4503
For iphone Check out the CommonCrypto API, the Security framework API and the CryptoExercise sample code http://developer.apple.com/iphone/library/samplecode/CryptoExercise/Introduction/Intro.html
In java you have java.security.interfaces.RSAKey java.security.interfaces.RSAPublicKey etc
In php you have the http://pear.php.net/package/Crypt_RSA/ PEAR package
Upvotes: 1