Is this secure?
Steven D'Aprano
steven at REMOVE.THIS.cybersource.com.au
Tue Feb 23 21:43:05 EST 2010
On Wed, 24 Feb 2010 02:40:13 +0000, Steven D'Aprano wrote:
> On Tue, 23 Feb 2010 15:36:02 +0100, mk wrote:
>
>> The question is: is this secure? That is, can the string generated this
>> way be considered truly random?
>
> Putting aside the philosophical question of what "truly random" means, I
> presume you mean that the letters are uniformly distributed. The answer
> to that is, they don't like uniformly distributed.
Er, they don't *look* uniformly distributed.
(Of course, being random, perhaps they are and I just got unlucky.)
--
Steven
More information about the Python-list
mailing list