Jeremy Newman : update generate_passwd to be stronger