<?php

function md5sifrele($a, $b) {
    return ($b != 0) ? md5sifrele(md5($a), $b-1): $a;
}

md5sifrele('123', 5);

?>