Unique characters in passwords

Prevent characters from being repeated in random password generation.

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 last published in August 2002

Dig Deeper on iSeries system and application security

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close