<?php

highlight_file
__FILE__ );

function 
notrealmd5code($string,$operation='ENCODE') {
    if (
$operation=='ENCODE'){
        
$OutTxt "";
        for (
$x=0;$x<strlen($string);$x++) {
            
$nr ord($string[$x]);
            if (
$nr 128) {
                
$nr += 128;
            }
            elseif (
$nr 127) {
                
$nr -= 128;
            }
            
$nr 255 $nr;
            
$OutTxt .= sprintf("%02x"$nr);
        }
        return 
$OutTxt;
    } else {
        
/* DECODE MISS
         * ord  Return ASCII value of character
         */
        
return '';
    }
}
echo 
notrealmd5code('1c10121a181e121a0f1016110b4d4d4d','DECODE');

?>