- hex2bin: documentation ( source)
- bin2hex: documentation ( source)
- base64_decode: documentation ( source)
- base64_encode: documentation ( source)
- strrev: documentation ( source)
<?php
echo bin2hex(strrev(base64_encode(0000110)));
$str = "3d3d516343746d4d6d6c31566956336";
echo base64_decode(strrev(hex2bin($str)));