| Current Path : /var/www/html/mmishra/mm/Proto/ |
| Current File : /var/www/html/mmishra/mm/Proto/functions.inc |
function ldap_crypt_passwd($password, $salt, $stype){
if ($stype == "MD5") return "{CRYPT}" . crypt($password); //, $salt);
//if ($stype=="MD5") return crypt($password,substr($salt,0,12)); //MD5 uses 12 chr salt
}