Re: crypt and decrypt and xor
| From: | Patrik Wallstrom | Date: | Tue, 15 Jan 2002 17:06:47 +0000 |
| Subject: | Re: crypt and decrypt and xor | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15834@lists.php.net to get a copy of this message | ||
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->pawal@blipp.com->+46-709580442