The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home BasePack FileSys Procedures Varia InventPassWord | |||||||||||||||||||||||||||||||||||||||||||||||||||||
See also: DefaultValue | |||||||||||||||||||||||||||||||||||||||||||||||||||||
InventPassWord |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
The function InventPassword creates a random character combination to be used as a password. It comes in two overloaded versions. Version [1] generates a password which is easy to read, i.e. the returned string consists of vowels and consonants and two digits in an appropriate order. The parameter NrChars determines the length of the created password and may assume values between 4 and 14. Version [2] generates much more complicated passwords which are harder to remember but inherently safer. The additional parameter MixCases determines whether a mix of lower and upper case characters is used, or lowercase characters only. The parameter SpecChars determines whether special characters and digits are used in the generated password. The number of different passwords generated by the algorithm depends on the parameter NrChars :
|