- hex2bin: documentation ( source)
- bin2hex: documentation ( source)
- base64_decode: documentation ( source)
- base64_encode: documentation ( source)
- str_rot13: documentation ( source)
- gzdeflate: documentation ( source)
- gzinflate: documentation ( source)
<?php
$msg = "Entering 1337 h4x0r mode, pinging Barry ...\n";
$msg = gzdeflate( $msg );
echo "$msg\n";
$msg = bin2hex( $msg );
echo "$msg\n";
exit;
$msg = str_rot13( base64_encode( bin2hex( gzdeflate( "Entering 1337 h4x0r mode, pinging Barry ...\n" ) ) ) );
echo "$msg\n";
$back = gzinflate( hex2bin( base64_decode( str_rot13( $msg ) ) ) );
echo "$back\n";