unsigned long mysql_hex_string(char *to, const char *from, unsigned long length)
mysql_hex_string is in work by code-reference.com if you are faster… don't hasitate and add it
no example at the moment