×
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 wrote
So you can sort of control the readability of result strings
Doesn't that kind of defeat the purpose? Surely a GUID (or random string)
should not be human readable? If a human can read any part of it the effect
is weakened (IMHO)?
Maurice
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Nathan Andelin
Sent: 08 September 2008 19:17
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Random String Generator
Maurice O'Prey wrote:
Just curious myself, how does your version stand up to .NET
... GUID = System.GUID.NewGuid().ToString()
I think NewGuid() generates strings based on timestamps, so the
resulting string is mostly hex digits, while ranString() has optional
parameters for specifying the size of the string you want returned (a
range), and the consonants and vowels you want it to be based on, and
the vowel weight, and flags to include digits and uppercase characters.
So you can sort of control the readability of result strings.
Nathan.
As an Amazon Associate we earn from qualifying purchases.