Random number functions can be used for several things here - say you need a punctuation in 2 locations, doesn't matter where - use rand() in some form to pick the 2 spots (SQL has one, there's a C function callable from RPG, etc.), use rand() again against an array of punctuation marks, ba-da-bing. Same for a mix of upper and lower and numbers.

Now if you have a rule about "not completely crazy and impossible to remember, thus, ending up on a post-it", then you have other things to consider. :-) But there is something called pwgen in the Linux world - source would be available for it, of course. Here's a description from the man page for it

The /pwgen/ program generates passwords which are designed to be easily memorized by humans, while being as secure as possible.

Get the source and see what it does.

Vern

On 6/17/2010 7:26 AM, Dennis Lovelady wrote:
Need to know your password rules. All apha? All numeric? Spaces allowed?
...

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
There are very few personal problems that can't be solved by a suitable
application of high explosives.


Anyone know of a free program which will randomly generate a file of
passwords (approx. 500 of them)?


Don F. Cavaiani

Amerequip Corp.
920-894-7063

"Only one who devotes himself to a cause with his whole strength and
soul can be a true master. For this reason mastery demands all of a
person." Albert Einstein



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.