I’m making an application with Xcode which encrypts information using the private key of a certificate, this information is sent to a server using a POST in PHP (Eg: username = “encrypted data”) and I want to decrypt this information in the PHP with the private key and get the real information, I encrypted the information with SecKeyEncrypt in Xcode and then sent to PHP, but how I can decrypt it with the private key in php?
I’m making an application with Xcode which encrypts information using the private key of
Share
The function you are looking for is
mcrypt_decryptthat comes with themcryptextension.