Re: [PHP-DB] crypt and decrypt and xor

2002-01-15 Thread Patrik Wallstrom

On Tue, 15 Jan 2002, Thomas "omega" Henning wrote:

> Hello All,
>
> Does PHP have a crypt and decrypt algorithm?

You have the crypt() function, and more crypto algorithms can be found in
the mcrypt package.

> Is xor supported by php and can you give me some examples for it?

$c = $p ^ $k

^ is the XOR operator.

--
patrik_wallstrom->foodfight->[EMAIL PROTECTED]>+46-709580442


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] crypt and decrypt and xor

2002-01-15 Thread Thomas \"omega\" Henning

Hello All,

Does PHP have a crypt and decrypt algorithm?
Is xor supported by php and can you give me some examples for it?

Thanks

Thomas "omega" Henning



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]