Description: Generates semi-random passwords via pwgen or DB_genPassword.
Parameter:
- length: The length of the passwords.
- amount: The amount of passwords to generate.
Returns:
- Array with the generated passwords if $amount 1 or the password string directly if $amount = 1.
root
2015-09-06