Re: [PHP] Encryption/decryption of PHP data

2009-01-01 Thread Per Jessen
Edward Diener wrote: >> why not just use https protocol. all data between client and server >> will be encrypted. > > The data must be encrypted/decrypted going both ways between the > client and the server. Does using https automatically do that ? If it > does that would be great. > Yes, that

Re: [PHP] Encryption/decryption of PHP data

2009-01-01 Thread Edward Diener
paragasu wrote: if you want client to send encrypted form to server. then it must be done using some kind of client side script (javascript?). I am using C++. i don't think it is reliable. Why would it not be reliable if I were using a public-key/private-key encryption library which works

Re: [PHP] Encryption/decryption of PHP data

2009-01-01 Thread Edward Diener
Per Jessen wrote: Edward Diener wrote: Phpster wrote: In reading the license I believe it refers to the gnupg itself, not the application it may be embedded in. You are completely free to use gnupg as you choose including modifying it to meet your needs. I always thought the GNU public licens

Re: [PHP] Encryption/decryption of PHP data

2009-01-01 Thread paragasu
if you want client to send encrypted form to server. then it must be done using some kind of client side script (javascript?). i don't think it is reliable. why not just use https protocol. all data between client and server will be encrypted. On 1/1/09, Per Jessen wrote: > Edward Diener wrote:

Re: [PHP] Encryption/decryption of PHP data

2009-01-01 Thread Per Jessen
Edward Diener wrote: > Phpster wrote: >> In reading the license I believe it refers to the gnupg itself, not >> the application it may be embedded in. You are completely free to use >> gnupg as you choose including modifying it to meet your needs. > > I always thought the GNU public license deman

Re: [PHP] Encryption/decryption of PHP data

2008-12-31 Thread Edward Diener
Phpster wrote: In reading the license I believe it refers to the gnupg itself, not the application it may be embedded in. You are completely free to use gnupg as you choose including modifying it to meet your needs. I always thought the GNU public license demanded that any non-free modules, w

Re: [PHP] Encryption/decryption of PHP data

2008-12-31 Thread ceo
As I understand it: You can LINK your commercial binary with GPL binaries, and keep closed source. You cannot co-mingle the two C source codes together and keep it closed. I am fairly certain you can find commercial C++ offerings to generate PGP key pairs, instead of using the GnuPG OSS

Re: [PHP] Encryption/decryption of PHP data

2008-12-31 Thread Phpster
In reading the license I believe it refers to the gnupg itself, not the application it may be embedded in. You are completely free to use gnupg as you choose including modifying it to meet your needs. Bastien Sent from my iPod On Dec 30, 2008, at 10:50 PM, Edward Diener wrote: My clien

[PHP] Encryption/decryption of PHP data

2008-12-30 Thread Edward Diener
My client application needs to send data to a PHP page in encrypted form and have the PHP code able to decrypt it. Likewise the PHP code needs to return data to my application encrypted and my client application needs to be able to decrypt it. My application is written in C++ and naturally the PH