The random.passwords vocab provides functions for generation of random passwords.

Generate password of a given length from some often used character sets:
alnum-password ( n -- string )

hex-password ( n -- string )

ascii-password ( n -- string )


Generate a password from a custom character set:
password ( n charset -- string )