password genereation with apg