public static function token($infos) { $s = Config::tokenKey(); foreach ($infos as $i) { $s .= sha1($i); } return sha1($s); }