In relation to the on-going discussion on piracy prevention methods and server activation, I was having a quick play around with public / private key encryption. Just experimenting right now, but I may end up creating activation code for my software that communicates with my PHP based site.
I’ve looked into openssl on my server and can create code that encrypts / decrypts using public and private keys no problem. I’m using the PHP commands ‘openssl_public_encrypt’ and ‘openssl_private_decrypt’ and have generated public and private keys using the openssl ‘genrsa’ command.
Anyone have any idea how to encrypt a string using the public RSA key and Xojo that can be decrypted using ‘openssl_private_decrypt’ in PHP? I have a full MBS license which has an OpenSSL plugin, but I can’t seem to get it to work. Maybe I’m taking completely the wrong approach?
Sorry if it’s obvious, I have a stinking head cold and am on pain killers for a shoulder injury, so I’m really not thinking straight right now!
Any help greatly appreciated.