× 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.



I don't think this is a good use for a GUID. Do you really want your users to have to type in a different 32 character security code every time they use a particular feature of your site? Typically, more than 8 characters starts becoming a burden.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Maurice O'Prey
Sent: Monday, September 08, 2008 1:50 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Random String Generator

Hi Nathan

Just curious myself, how does your version stand up to .NET

Function GUID() As String

GUID = System.GUID.NewGuid().ToString()

End Function

Regards

Maurice



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Nathan Andelin
Sent: 08 September 2008 18:04
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Random String Generator

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.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.