Re: [PHP] PHP translation needed

2007-12-18 Thread Daniel Brown
On Dec 17, 2007 11:22 PM, Casey <[EMAIL PROTECTED]> wrote: > > On Dec 17, 2007 7:06 PM, Grace Shibley <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > > > We have an encryption function that was written in another language that we > > needed translated to PHP. > > > > Here's the function: > > > > fu

Re: [PHP] PHP translation needed

2007-12-17 Thread Casey
On Dec 17, 2007 7:06 PM, Grace Shibley <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > We have an encryption function that was written in another language that we > needed translated to PHP. > > Here's the function: > > function rc4 pText, pKey > -- initialize > repeat with i = 0 to 255 >

[PHP] PHP translation needed

2007-12-17 Thread Grace Shibley
Hi Everyone, We have an encryption function that was written in another language that we needed translated to PHP. Here's the function: function rc4 pText, pKey -- initialize repeat with i = 0 to 255 put i into S1[i] end repeat put 0 into i repeat with n = 0 to 255