commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: [text] RandomStringGenerator as replacement for RandomStringUtils
Date Tue, 20 Jun 2017 13:13:07 GMT
On Tue, 20 Jun 2017 09:06:57 -0400, Wilson MacGyver wrote:
> On Tue, Jun 20, 2017 at 8:22 AM, Gilles 
> <gilles@harfang.homelinux.org>
> wrote:
>
>> Hi.
>>
>>
>> That would not be very efficient.
>> Perhaps we should implement a "selectFrom" feature:
>>   RandomStringGenerator gen = new RandomStringGenerator.Builder()
>>     .selectFrom(charArray)
>>     .build();
>
>
>
> that would be great. I would imagine using this as password generator 
> is a
> pretty common use case. Limiting passwords to allowed character list 
> is a
> fairly standard practice.

Could you then please file a "wish" request on the issue-tracking
system:
   https://issues.apache.org/jira/browse/TEXT
?

Thanks,
Gilles

> [...]


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message