Codice PHP:
$phrase "la mia bella frase!";

function 
applyCharDiff($string,$diff){
    
$newString '';
    for(
$i=0;$i<strlen($string);$i++)    
        
$newString.=chr(ord(substr($string,$i,1))+$diff);
        
    return 
$newString;
}

$new_phrase '';
foreach(
explode(" ",$phrase) as $str)
    
$new_phrase.= ($new_phrase " " '').applyCharDiff($str,35);
    
echo 
"old phrase: $phrase 
new phrase: 
$new_phrase"
così?