Asymmetric Encryption compatible with PHP OpenSSL

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
BytePlayer
Posts: 2
Joined: Fri 07 Apr 2017 11:46

Asymmetric Encryption compatible with PHP OpenSSL

Post by BytePlayer » Fri 07 Apr 2017 11:51

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?

ViktorV
Devart Team
Posts: 2123
Joined: Wed 30 Jul 2014 07:16

Re: Asymmetric Encryption compatible with PHP OpenSSL

Post by ViktorV » Fri 07 Apr 2017 12:12

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

BytePlayer
Posts: 2
Joined: Fri 07 Apr 2017 11:46

Re: Asymmetric Encryption compatible with PHP OpenSSL

Post by BytePlayer » Tue 11 Apr 2017 06:34

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

ViktorV
Devart Team
Posts: 2123
Joined: Wed 30 Jul 2014 07:16

Re: Asymmetric Encryption compatible with PHP OpenSSL

Post by ViktorV » Thu 13 Apr 2017 12:07

The similar question has already been discussed on our forum. Follow the link viewtopic.php?f=27&t=34959 for details.

Post Reply