- var_dump: documentation ( source)
- hex2bin: documentation ( source)
- base64_decode: documentation ( source)
- strrev: documentation ( source)
<?php
$encodedSecret = "3d3d516343746d4d6d6c315669563362";
$hex = strrev(base64_decode($encodedSecret));
var_dump($hex);
$bin = hex2bin($hex);
?>