openssl php

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
sumadhuracool
Forum Newbie
Posts: 1
Joined: Mon Jan 09, 2012 8:59 pm

openssl php

Post by sumadhuracool »

i needed some clarification regarding openssl...
in openssl , we are able to do encryption and decryption using public/private key pairs..
but why we need to do encryption after sending the data to server....i.e ( actually the encryption should be done at client side...then ,that data can be sent in an insecure channel...) but by using openssl ,encryption is done in server side...so can u please clarify this....
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: openssl php

Post by Christopher »

Wth openssl the encryption/decryption is done on both ends. Are you talking about using the PHP openssl library or the web server using openssl for HTTPS?
(#10850)
Post Reply