query("SELECT * FROM ".$this->table_name." WHERE ".$this->column_uname."='$username'")->fetch_array()['salt']; $encrypt = md5(md5($raw_passwd).$salt); return $encrypt; } }