Node module for generating passwords