Random string samples & unicode - Reprise

Kagamin spam at here.lot
Sat Sep 18 07:27:32 PDT 2010


Jérôme M. Berger Wrote:

> > Generate a 4 digit random integer and convert it to a string. It's
> > probably a lot more efficient than the Python version.
> 
> 	Except that the Python version ensures that you don't have the same
> digit twice, which just generating a 4 digits random integer won't...

So this trick is not good for captcha and password generation.


More information about the Digitalmars-d mailing list