binary, EX_OR and hexidecimal calculations
| From: | Tom Beidler | Date: | Wed, 23 Oct 2002 16:13:08 +0000 |
| Subject: | binary, EX_OR and hexidecimal calculations | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121120@lists.php.net to get a copy of this message | ||
I'm not sure if PHP can do this but I have a client that would like to
provide unlock codes for a CD they have. They have given me a document that
describes the Binary calculation that is required to calculate the unlock
code based on the CD serial number. They also refer to EX/OR or exclusive
or. The also refer to hex data which I'm assuming is hexidecimal which I'm
pretty sure PHP can deal with.
I'm interested in finding out if PHP can work with binary, ex/or and
hexidecimal data. If not any other possible solution, ie. library or other
language such as Perl. I would also appreciate any links to additional info.
Thanks,
Tom