class MD5Crypt{ function keyED($txt,$encrypt_key) { $encrypt_key = md5($encrypt_key); $ctr=0; $tmp = ""; for ($i=0;$ikeyED($tmp,$key)); } function Decrypt($txt,$key) { $txt = $this->keyED(base64_decode($txt),$key); $tmp = ""; for ($i=0;$i= 58 && $randnumber <= 64) || ($randnumber >= 91 && $randnumber <= 96)) { $randnumber = rand(48,120); } $randomPassword .= chr($randnumber); } return $randomPassword; } } ?>