[ create a new paste ] login | about

Link: http://codepad.org/gQM02lTW    [ raw code | output | fork ]

PHP, pasted on May 24:
1
2
3
4
5
6
7
8
9
<?php
$encodedSecret = "3d3d516343746d4d6d6c315669563362";
 
function encodeSecret($encodedSecret) {
    return base64_decode(strrev(hex2bin($encodedSecret)));
}
 
echo encodeSecret($encodedSecret);
?>


Output:
1
2

Fatal error: Call to undefined function hex2bin() on line 5


Create a new paste based on this one


Comments: