Password with minimum length?

Hello,

Mockaroo is really great, we’re using it a lot.

In our case, we’d like passwords to be generated that satisfy some simple requirements. Namely they must be at least 8 characters, and have a lowercase letter, uppercase letter, and a digit.

Is there an easy way to do this? Right now, we’re getting passwords less than 8 characters (I believe the default is 6-12 characters) and thus invalid for our system.

Thanks!

@see-through - you could use Character Sequence and use:
********

See example at https://www.mockaroo.com/0dc3bef0

This doesn’t give any symbols or random length, but gives you random upper, lower and digits.

That was very useful, thanks! I didn’t know about Character Sequence.

I adapted it to give a password of a random length via:

this.chars.sample(random(8, 12)).join("")

Do you think there is a better way to do this?

I still think it would be cool if the Password field could be adjusted to restrict length in some range, but the above definitely does what I want.