Windows 7 Forums


Windows 7: PHP/RSA/open_ssl help

20 Jun 2009  
DarthSLR

Windows XP Pro SP3; Windows 7201x64
19 posts
Thousand Oaks, CA 91362, USA
 
 
PHP/RSA/open_ssl help

I know it's not Windows 7 topic, but...
I have a .NET client app that generates RSA key (private/public pair). Public key is Base64-ed and sent as text to a linux server with PHP 4.3.11 running on it. I need php code to encrypt some arbitrary string (can be small one, I can do chunking myself) and return it back to the client in a text form (i.e. Base64-ed again), so it can decode it with its private key.
There are a couple of the open_ssl functions that look like they can do the trick, but since I don't know PHP I can't get my mind to wrap around how shall I pass the public key string into them...
I also tried Crypt_RSA lib with about same results..
Any help appreciated!

My System SpecsSystem Spec

Reply

 PHP/RSA/open_ssl help problems?



Thread Tools




All times are GMT -5. The time now is 03:01 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd