|
|
|
|
GeneratePassword (Function) In french: GénèreMotdePasse Automatically generates a password with specific characteristics (size, characters used, ...).
// Generate a password with 8 characters sPwd is string = GeneratePassword(8) // Generate a password containing vowels only sPwd2 is string = GeneratePassword(8, "aeiouyAEIOUY") // Generate a password with all the characters from the alphabet + numbers MySet is string = "abcdefghijklmnopqrstuvwxyz0123456789" sPwd3 is string = GeneratePassword(8, MySet)
Syntax
<Result> = GeneratePassword(<Length> [, <Set of characters>])
<Result>: Character string - Generated password.
- Empty string ("") if the length of the password corresponds to 0.
<Length>: Integer Size of the password. If this parameter is set to 0, the password corresponds to an empty string (""). <Set of characters>: Optional character string Characters that must be included in the password. If this parameter is not specified, the generated password will be "pronounceable". This password is composed of characters: - between a and z.
- between A and Z.
- between 0 and 9.
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM Password
[ + ] Web sites, bank accounts, ... passwords are everywhere in out life. With WM Password, no need to store all the passwords of your different accounts. The application stores all your passwords in a secure way. WM Password can also generate secure passwords for you.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|