Cryptographically random numbers
gervasiobernal at speedy.com.ar
Tue Mar 7 21:17:07 CET 2006
> from os import urandom
> def cstring(bytes):
> if c>'0' and c<'z':
> return ret
> That should do it, though I bet there might be a more efficient way. I
> don't know if that's the set of characters you want to use, but... If
> you want a better answer, you'd have to be more specific.
Thanks a lot, that is what I need.
If someone else have a more efficient way I will appreciate.
More information about the Python-list