I\'m familiar with php\'s function bin2hex() for converting binary data to its hexadecimal representation.
bin2hex()
However, what is the complement function to c
For those who have PHP 5.4 and above, there's a standard way of doing this:
The output of the code above should be similar to:
string(16) "example hex data"
Gotten off of the PHP hex2bin page.