Re: [PHP] Data Enryption

2005-01-14 Thread John Nichel
Jochem Maas wrote: John Nichel wrote: Jochem Maas wrote: (no disrespect to Zend, but ZCE _sounds_ a lot like MSCE and everyone knows what thats worth ;-) - just a but of humour guys!) Oh yeah, I can hear all the Zend people laughing from here. good cos that means they have a better sense of h

Re: [PHP] Data Enryption

2005-01-13 Thread Jochem Maas
John Nichel wrote: Jochem Maas wrote: (no disrespect to Zend, but ZCE _sounds_ a lot like MSCE and everyone knows what thats worth ;-) - just a but of humour guys!) Oh yeah, I can hear all the Zend people laughing from here. good cos that means they have a better sense of humour that most Soft

Re: [PHP] Data Enryption

2005-01-13 Thread John Nichel
Jochem Maas wrote: (no disrespect to Zend, but ZCE _sounds_ a lot like MSCE and everyone knows what thats worth ;-) - just a but of humour guys!) Oh yeah, I can hear all the Zend people laughing from here. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing Lis

Re: [PHP] Data Enryption

2005-01-13 Thread Christophe Chisogne
Greg Donald a écrit : function encrypt( $string ) { $key = '&[EMAIL PROTECTED]'; $result = ''; for( $i = 1; $i <= strlen( $string ); $i++ ) { $char = substr( $string, $i - 1, 1 ); $keychar = substr( $key, ( $i % strlen( $key ) ) - 1, 1 );

Re: [PHP] Data Enryption

2005-01-12 Thread Jochem Maas
Greg Donald wrote: On Thu, 13 Jan 2005 03:37:29 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: (no disrespect to Zend, but ZCE _sounds_ a lot like MSCE and everyone knows what thats worth ;-) - just a but of humour guys!) actually IMHO a ZCE is worth a heck of alot more than an MSCE (on paper at

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
On Thu, 13 Jan 2005 06:36:44 +0800, Jason Wong <[EMAIL PROTECTED]> wrote: > No offence, but as you are a ZCE, this might lead people that that function is > useful and might actually use it. http://php.net/mcrypt in the comments section is where I found them. I wouldn't protect the pentagon with

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
On Thu, 13 Jan 2005 03:37:29 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: > (no disrespect to Zend, but ZCE _sounds_ a lot like MSCE and everyone > knows what thats worth ;-) - just a but of humour guys!) Yeah that's hilarious. -- Greg Donald Zend Certified Engineer http://destiney.com/ --

Re: [PHP] Data Enryption

2005-01-12 Thread Jochem Maas
Jason Wong wrote: On Thursday 13 January 2005 01:55, Greg Donald wrote: On Wed, 12 Jan 2005 18:09:08 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: I'm no expert on crypto (and never will be either! designing good crypto is something best left to the very very very very best in terms of computer sc

Re: [PHP] Data Enryption

2005-01-12 Thread Jochem Maas
Greg Donald wrote: On Wed, 12 Jan 2005 18:09:08 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: I'm no expert on crypto (and never will be either! designing good crypto is something best left to the very very very very best in terms of computer science) but I think that the following function represe

Re: [PHP] Data Enryption

2005-01-12 Thread Jason Wong
On Thursday 13 January 2005 01:55, Greg Donald wrote: > On Wed, 12 Jan 2005 18:09:08 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: > > I'm no expert on crypto (and never will be either! designing good crypto > > is something best left to the very very very very best in terms of > > computer scienc

Re: [PHP] Data Enryption

2005-01-12 Thread Jochem Maas
Greg Donald wrote: On Wed, 12 Jan 2005 10:13:08 -, Shaun <[EMAIL PROTECTED]> wrote: I have site that allows users to upload private information to our server. We would like to encrypt the data for security reasons and only allow certain users to be able to un-encrypt the data and view it. I hav

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
On Wed, 12 Jan 2005 10:51:31 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote: > No offense intended to you sir... but why do you use a static key in > this way instead of using mcrypt? Please forgive my naivete regarding > encryption. Because not everyone's PHP is built --with-mcrypt, and not ever

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
On Wed, 12 Jan 2005 18:09:08 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: > I'm no expert on crypto (and never will be either! designing good crypto > is something best left to the very very very very best in terms of > computer science) but I think that the following function represents > very we

Re: [PHP] Data Enryption

2005-01-12 Thread Jason Barnett
function encrypt( $string ) { $key = '&[EMAIL PROTECTED]'; No offense intended to you sir... but why do you use a static key in this way instead of using mcrypt? Please forgive my naivete regarding encryption. $result = ''; for( $i = 1; $i <= strlen( $string ); $i

Re: [PHP] Data Enryption

2005-01-12 Thread Greg Donald
On Wed, 12 Jan 2005 10:13:08 -, Shaun <[EMAIL PROTECTED]> wrote: > I have site that allows users to upload private information to our server. > We would like to encrypt the data for security reasons and only allow > certain users to be able to un-encrypt the data and view it. I have looked > at

Re: [PHP] Data Enryption

2005-01-12 Thread Dirk Kredler
Am Mittwoch, 12. Januar 2005 11:13 schrieb Shaun: > Hi, > > I have site that allows users to upload private information to our server. > We would like to encrypt the data for security reasons and only allow > certain users to be able to un-encrypt the data and view it. I have looked > at the PHP en