|
发表于 2012-6-18 19:45:23
|
显示全部楼层
上海市上海市
function(d) {
if (d == undefined || d == null || d == "")
return false;
for (var h = "8ABC7DLO5MN6Z9EFGdeJfghijkHIVrstuvwWSTUXYabclmnopqKPQRxyz01234", k = d.length, f = [], b, l, m, c = function(a) {
f[f.length] = h.charAt(a)
}, a = h.length, i = a * a, j = a * 5, g = 0; g < k; g++) {
b = d.charCodeAt(g);
if (b < j)
c(Math.floor(b / a)), c(b % a);
else
c(Math.floor(b / i) + 5), c(Math.floor(b / a) % a), c(b % a)
}
var e = f.join("");
return String(e.length).length + String(e.length) + e |
评分
-
查看全部评分
|