fwPack/fwUnpack in php?

2004-03-01 Thread Frank Leahy
I'm successfully using fwPack and fwUnpack to store passwords in a preferences file -- thank you Richard! Has anyone ported this code to php by chance? I was about to do it, but figured if it had already been done I'd save a 1/2 a day. I'd be willing to trade Transcript code that read JPEG

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Richard Gaskin
Frank Leahy wrote: I'm successfully using fwPack and fwUnpack to store passwords in a preferences file -- thank you Richard! Has anyone ported this code to php by chance? I was about to do it, but figured if it had already been done I'd save a 1/2 a day. The MDX algorithm used in

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Frank Leahy
Frank Leahy wrote: I'm successfully using fwPack and fwUnpack to store passwords in a preferences file -- thank you Richard! Has anyone ported this code to php by chance? I was about to do it, but figured if it had already been done I'd save a 1/2 a day. The MDX algorithm used in

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Richard Gaskin
Frank Leahy wrote: I'm successfully using fwPack and fwUnpack to store passwords in a preferences file -- thank you Richard! Has anyone ported this code to php by chance? I was about to do it, but figured if it had already been done I'd save a 1/2 a day. The MDX algorithm used in fwPack/fwUnpack

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Chipp Walters
Frank, If/when you get it converted, could you please send me a copy and/or post it here. I'd like to have it, too! best, Chipp Frank Leahy wrote: Frank Leahy wrote: I'm successfully using fwPack and fwUnpack to store passwords in a preferences file -- thank you Richard! Has anyone ported

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Brian Yennie
What is the resulting format from fwPack? I'm fairly experienced with PHP, so I could help if I knew the details... Frank, If/when you get it converted, could you please send me a copy and/or post it here. I'd like to have it, too! best, Chipp Frank Leahy wrote: Frank Leahy wrote: I'm

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Richard Gaskin
Brian Yennie wrote: What is the resulting format from fwPack? I'm fairly experienced with PHP, so I could help if I knew the details... It's described in my column at revJournal: http://www.revjournal.com/comments.php?id=P65_0_1_0 -- Richard Gaskin Fourth World Media Corporation

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Brian Yennie
Ah, OK- cool. I'll make a deal: someone send me a fwPacked message off-list that I'll recognize when I unpack it properly, and I'll whip up a PHP script that unpacks it. - Brian Brian Yennie wrote: What is the resulting format from fwPack? I'm fairly experienced with PHP, so I could help if

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Richard Gaskin
Brian Yennie wrote: It's described in my column at revJournal: http://www.revjournal.com/comments.php?id=P65_0_1_0 I'll make a deal: someone send me a fwPacked message off-list that I'll recognize when I unpack it properly, and I'll whip up a PHP script that unpacks it. While I'm intrugued

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Brian Yennie
While I'm intrugued by the contest nature of that, you could perhaps more easily just use the functions in a stack with one field and one button. :) Yeah, I guess I'm functioning in lazy mode today. I'll probably grab the stack sometime later, real work calls =). If you need a challenge I

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Richard Gaskin
Brian Yennie wrote: While I'm intrugued by the contest nature of that, you could perhaps more easily just use the functions in a stack with one field and one button. :) Yeah, I guess I'm functioning in lazy mode today. I'll probably grab the stack sometime later, real work calls =). It's even

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Chipp Walters
You can get Richard's fwPack/Unpack tutorial at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm (bottom of page) Richard Gaskin wrote: Chipp's made a nifty shell for playing with fwPack/fwUnpack, but I can't find it on his download page. Chipp, did you move it, or am I

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Chipp Walters
Brian, MDFIgZi/v4x+q13GwW/ZOBfxRw9rRDXr2cuhxc9rATBXtTVpKTbU4l9FQ1LvgJbsZi01bMp+ ioZXNfHvqJbGG2XoUXVT8x3E+KRKZ+Uvc2SauCroGWsZxL/EzSBWuDdKYUSq3BOP25FDdUs6 SWpBQKQL4cmi+bbl+Rbq0OC6JhpmonoLNsMRgrD+0FLEnI6cU4rBCpC/ use fred as the unpack password... best, Chipp Brian Yennie wrote: Ah, OK- cool.

Re: fwPack/fwUnpack in php?

2004-03-01 Thread [EMAIL PROTECTED]
below follows the fwPack code in PHP.. fwUnpack is coming -Sean % function fwPack($pData, $pPassword=) { if ($pPassword === ): $pData = 00 . gzencode($pData); else: $tKeyString = pack(H*, md5($pPassword)); $tKeyStringLen = strlen($tKeyString); $pData = gzencode($pData

Re: fwPack/fwUnpack in php?

2004-03-01 Thread [EMAIL PROTECTED]
well here are the two functions.. next ;-) -Sean % function fwPack($pData, $pPassword=) { if ($pPassword === ): $pData = 00 . gzencode($pData); else: $tKeyString = pack(H*, md5($pPassword)); $tKeyStringLen = strlen($tKeyString); $pData = gzencode($pData); $tDataLen =

RE: fwPack/fwUnpack in php?

2004-03-01 Thread Chipp Walters
well here are the two functions.. next ;-) -Sean Great! If you don't mind, I'll include them in the fwPack/Unpack tutorial I have at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm Next? H. how about them in .asp??? -Chipp ___

Re: fwPack/fwUnpack in php?

2004-03-01 Thread Richard Gaskin
[EMAIL PROTECTED] wrote: well here are the two functions.. next ;-) -Sean A thing of beauty, Sean. Thank you. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com % function