generate passwords uniformly from variable length sets