Jump to content
saeiddavoody

Decrypt a string with public key using openssl in VCL app

Recommended Posts

Hi, In my VCL application I send a request to server and receive a data that encrypted by php openssl_private_encrypt. Now I want to decrypt it with a public key. I have the public key.

  1. How should I do that?
  2. Is there a third-party component to do that?
  3. what difference between using openssl library to decrypt data with public key and decrypting it using other library or pure RSA?

 

Update: Some components such as TMS CryptographyDelphi-OpenSSL decrypt data with private key not public key using openssl.

 

How should I decrypt the string with public key using openssl?

Edited by saeiddavoody

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×