All pastes #472712 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-05 19:36 UTC
rendered paste body
function fs(dg){
var da,he,jw=0x10000000;
dg=dg.toUpperCase();
for(da=0;
da<dg.length;
da++)jw+=dg.charCodeAt(da,1)*Math.pow(da+1+dg.length,3);
he=la(jw);
he="W2"+he.substr(2);
return he;
};