Added the ability to specify a password length