Recently I came across a tip on random password generation. I noticed that the characters were being repeated, so if the character string is replaced by a array, and every time after getting a character move '1' to the subscript and sort the array using SORTA, simultaneously this also reduce the subscript (e.g. from 26 to 25 and so on). This will ensure unique characters in the password that's generated.
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: Tips, tutorials and more.
Search400's targeted search engine: Get relevant information on security.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Read this Search400 Featured Topic: Secure your iSeries
This was first published in August 2002