×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Nathan,
How about using the RANDOM function in REXX for the number and then build your own random string generator using the RANDOM number function? It's a native i solution.
Dave
Nathan Andelin <nandelin@xxxxxxxxxxxx> 9/8/2008 10:03 >>>
Last week's discussion on CAPTCHA made me curious about random number
and random string generation because random codes are harder to break
than say a fixed collection of codes or derived images.
So I set about to write a couple RPG procedures that could be used for
random number and random string generation. For example, the following
screen shows a program for generating random strings of 4-8 characters
based on the lower-case English alphabet.
http://www.radile.com/rdweb/temp/random.html
I found that with even a limited alphabet, the procedure can generate
thousands of unique strings of 4-8 characters. It was just interesting;
A curiosity.
I don't have an immediate use for something like this, but I think it
will come in handy sometime in a toolkit.
Nathan.
As an Amazon Associate we earn from qualifying purchases.
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.