Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: PHP/RSA/open_ssl help

20 Jun 2009   #1

Windows XP Pro SP3; Windows 7201x64
 
 
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

Thread Tools



Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 12:56 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33