scr/functions: added genpwd()