On 26/12/11 23:02 +0100, Bertrand Chenal wrote:
> Le Mon, 26 Dec 2011 18:28:55 +0100,
> Cédric Krier <[email protected]> a écrit :
> 
> > Is uuid large enough for the authentication key?
> > 
> >     http://docs.python.org/library/uuid.html
> > 
> 
> As uuid is designed for uniqueness and not security, it depends
> partially on the current time, which is a weakness in this kind of
> usage. I propose this:

uuid4 doesn't depend on time but is purely random.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpgxvj3JZdpO.pgp
Description: PGP signature

Reply via email to