Page 1 of 1

Asymmetric Encryption compatible with PHP OpenSSL

Posted: Fri 07 Apr 2017 11:51
by BytePlayer
I can generate and use public and private keys on my linux php server, and I'm looking for a way to have the server give me a file encrypted with its private key and have me decrypt it in FIREMONKEY (Win & MacOS) using the public key.

Is such a thing possible with SecureBridge?

Re: Asymmetric Encryption compatible with PHP OpenSSL

Posted: Fri 07 Apr 2017 12:12
by ViktorV
If you mean the use of keys, generated using OpenSSL, then you can implement the specified functionality using the SecureBridge components.
To test the required functionality you can use SecureBridge trial version which you can download at our website: https://www.devart.com/sbridge/download.html

Re: Asymmetric Encryption compatible with PHP OpenSSL

Posted: Tue 11 Apr 2017 06:34
by BytePlayer
I downloaded it and it looks very impressive but I'm under a lot of time pressure and couldn't quickly figure out how I could connect to a php webpage and receive data from it encrypted using its public key and then decrypt it using FireMonkey, SecureBridge and my private key.

I've created a quick website that shows the kind of data I'd be getting and includes a private key so the decryption can be tested.

Is there a code sample showing me how I could do this? And will it work on both Mac and Windows?

http://www.frameforge.com/public-private.php

Re: Asymmetric Encryption compatible with PHP OpenSSL

Posted: Thu 13 Apr 2017 12:07
by ViktorV
The similar question has already been discussed on our forum. Follow the link viewtopic.php?f=27&t=34959 for details.