{"size": 368, "ext": "js", "max_stars_repo_path": "util/passwordGenerator.js", "max_stars_repo_name": "victormaiasarrasqueiro/escola-online", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "util/passwordGenerator.js", "max_issues_repo_name": "victormaiasarrasqueiro/escola-online", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "util/passwordGenerator.js", "max_forks_repo_name": "victormaiasarrasqueiro/escola-online", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.3333333333, "max_line_length": 93, "alphanum_fraction": 0.5923913043}

function getRandomChar() {
	var ascii = [[48, 57],[64,90],[97,122]];
	var i = Math.floor(Math.random()*ascii.length);
	return String.fromCharCode(Math.floor(Math.random()*(ascii[i][1]-ascii[i][0]))+ascii[i][0]);
}

function newPass(){

	var s = '';

	for (var i= 0; i<8; i++) {
		s += getRandomChar();
	}
	
	return s;
};


module.exports =  {
  
  newPass:newPass

};