With the function
RandomString, you can generate a random string. So you can use it to generate a random password.

If the argument
Charset is Empty, then
RandomString will use the default charset which contains all letters and all digits.

You can download the sample from
RandomPassword.amk.