var rederom=[];
for(var i=0;i<8;i++){
var ranNum = Math.ceil(Math.random() * 25);
rederom.push(String.fromCharCode(97+ranNum));
}
var usernm=Base64.encode(result.join('')+usernms)
var passwd=Base64.encode(rederom.join('')+passwds);