2009/3/26 dafire <[email protected]>:
>
>
>
>> secret = md5.md5(str(random.getrandbits(512)).hexdigest()
>
> you could just use an uuid to get a unique id.
>
> import uuid
> secret = str(uuid.uuid4())

Handy tip, thanks :)


David

> >
>



-- 
It is better to be wrong than to be vague.
  — Freeman Dyson

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to