Re: XORing a string with some hash???
| From: | Tom Rogers | Date: | Sun, 26 Jan 2003 04:11:06 +0000 |
| Subject: | Re: XORing a string with some hash??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133153@lists.php.net to get a copy of this message | ||
Hi,
Sunday, January 26, 2003, 10:02:40 AM, you wrote:
PL> Hello everybody,
PL> I was wondering if someone can tell me how do I XOR a given string with
PL> some hash .. like MD5 hash or something. I know how to do this in C - it's
PL> more than easy but with PHP I can't find a way at all.
PL> Thank you all in advance.
PL> Regards,
PL> Peter
$out = $string1 ^ $string2;
--
regards,
Tom