Re: [PHP] Anybody have a function to encode a string?

2002-03-20 Thread maxwello

> I need a function that encodes stuff, with a key.  It, of course, needs to
> be decodable too.  Does anbody know/have a function like this? 

What is everyone's thoughts on RC4Crypt? 
http://sourceforge.net/projects/rc4crypt/
http://www.paphe.com/php/tutorials/230101.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Anybody have a function to encode a string?

2002-03-20 Thread maxwello

> > I need a function that encodes stuff, with a key.  It, of course, needs
to
> > be decodable too.  Does anbody know/have a function like this?
>
>http://www.php.net/manual/en/ref.mcrypt.php

How about situations when mcrypt is not available?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Anybody have a function to encode a string?

2002-03-20 Thread maxwello

> I need a function that encodes stuff, with a key.  It, of course, needs to
> be decodable too.  Does anbody know/have a function like this? 

What is everyone's thoughts on RC4Crypt? 
http://sourceforge.net/projects/rc4crypt/
http://www.paphe.com/php/tutorials/230101.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Anybody have a function to encode a string?

2002-03-19 Thread Alexander Skwar

»Drew Lopucki« sagte am 2002-03-19 um 16:19:50 -0500 :
> This is a fairly condescending reply given that the license statement for
> PGP is present on every download screen from which it is available.  Careful

I stand corrected.  Because of the IDEA patent by ASCOM, you're only
allowed to use it non commercially.  You're right, and I'm an idiot ;)

> Anyway, I'm sure GnuPG is great too, but as with PGP it also is not part of
> most standard distributions of Linux/Unix and as a result, may not be

Not?  Hmm, unlike PGP it's part of RedHat, SuSE, Mandrake and Debian.
That's more than enough, if you ask me.

> present on a production server (where downloading and installing new

I never understood this.  On my production servers, if I need something
for a project, it will be installed.  Especially with non-system tools
like GnuPG.  I can understand when people/admins hesistate to recompile
PHP and stuff like this.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 10 hours 18 minutes

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Anybody have a function to encode a string?

2002-03-19 Thread Drew Lopucki

Alexander,

This is a fairly condescending reply given that the license statement for
PGP is present on every download screen from which it is available.  Careful
not to hurt my feelings please :(  After all, I went to a lot of trouble
looking all these things up very carefully when I implemented my own PHP
script for encrypting an email message.

Anyway, I'm sure GnuPG is great too, but as with PGP it also is not part of
most standard distributions of Linux/Unix and as a result, may not be
present on a production server (where downloading and installing new
packages may not be an option.)  OpenSSL, on the other hand, is available on
virtuall all systems since it is required for https servers.


-Original Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 2:52 PM
To: Drew Lopucki
Cc: Leif K-Brooks; [EMAIL PROTECTED]
Subject: Re: [PHP] Anybody have a function to encode a string?


»Drew Lopucki« sagte am 2002-03-19 um 10:25:02 -0500 :
> Lots of people will tell you to use PGP.  However since PGP is not *free*,
> in that you cannot use it for commercial purposes without a license, I
avoid
> it.  Also it has to be downloaded and installed as most systems do not

Well, use GnuPG.  Then you can use "PGP".  And what you stated above is
also plain wrong.  You might need some sort of license for the more
obscure uses (like VPN and thus), but for encryption, PGP is freely
available.  And lastly, even if you were willing to pay money, I would
not recommend PGP to anyone, as NA has stopped developing PGP and is
trying to sell it.  PGP is dead - long live GnuPG!

Alexander Skwar
--
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 8 hours 43 minutes


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Anybody have a function to encode a string?

2002-03-19 Thread Alexander Skwar

»Drew Lopucki« sagte am 2002-03-19 um 10:25:02 -0500 :
> Lots of people will tell you to use PGP.  However since PGP is not *free*,
> in that you cannot use it for commercial purposes without a license, I avoid
> it.  Also it has to be downloaded and installed as most systems do not

Well, use GnuPG.  Then you can use "PGP".  And what you stated above is
also plain wrong.  You might need some sort of license for the more
obscure uses (like VPN and thus), but for encryption, PGP is freely
available.  And lastly, even if you were willing to pay money, I would
not recommend PGP to anyone, as NA has stopped developing PGP and is
trying to sell it.  PGP is dead - long live GnuPG!

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 8 hours 43 minutes

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Anybody have a function to encode a string?

2002-03-19 Thread Drew Lopucki

Lots of people will tell you to use PGP.  However since PGP is not *free*,
in that you cannot use it for commercial purposes without a license, I avoid
it.  Also it has to be downloaded and installed as most systems do not
include it because of it's non-free open source status.

The best alternative I found is OpenSSL.  Yes it does key management,
creation, encryption, decryption and even SMIME EMAIL!  That's right you can
even send encrypted emails with it.  Try  'man smime' on a linux system for
the email portion.  Also, 'man rsautl' for just encryption and decryption of
an arbitrary string.


Hope I've been helpful,

Drew Lopucki
Mrdrew.com
[EMAIL PROTECTED]

-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 2:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Anybody have a function to encode a string?


I need a function that encodes stuff, with a key.  It, of course, needs to
be decodable too.  Does anbody know/have a function like this?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Anybody have a function to encode a string?

2002-03-18 Thread Leif K-Brooks

on 3/19/02 2:28 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

On Tue, 19 Mar 2002, Leif K-Brooks wrote:
> I need a function that encodes stuff, with a key.  It, of course, needs to
> be decodable too.  Does anbody know/have a function like this?

  http://www.php.net/manual/en/ref.mcrypt.php

miguel


My host doesn't seem to support that :-(  Is there anything else?




Re: [PHP] Anybody have a function to encode a string?

2002-03-18 Thread mnc

On Tue, 19 Mar 2002, Leif K-Brooks wrote:
> I need a function that encodes stuff, with a key.  It, of course, needs to
> be decodable too.  Does anbody know/have a function like this? 

   http://www.php.net/manual/en/ref.mcrypt.php

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php