Create a Secure Password

How to create a secure password

This is an improved version of the Create Password sample task. Uses special characters, numbers and upper as well as lower case characters.

This is kinda weak for generating passwords.

The code I have attached is much better; assuming the user can use case and special characters.

This allows the user to specify how many characters, then randomly generates ascii characters to create a SECURE password using special characters. 

It displays in a dialogue box rather than notepad to discourage the user from "saving" the text file which is not good practice for passwords. If they want to copy and paste from the dialogue box, that can be done.

You can play with the rndint() function. I am sure that will affect the resulting string.

Task Category:

Functions (Basic)