de-coding a string
Posted: Fri Jul 20, 2007 5:06 am
Hi,
I have encoded a string in the following way:
My question is, how do I decode it so that I get the original string?
I know about base64_decode(), but this only decodes base64. What about bin2hex()?
Any suggestions?
I have encoded a string in the following way:
Code: Select all
$enc_str= base64_encode(bin2hex($str));I know about base64_decode(), but this only decodes base64. What about bin2hex()?
Any suggestions?