Random passwords generation (Python vs Perl) =)
sturlamolden
sturlamolden at yahoo.no
Mon Jan 29 10:14:52 EST 2007
On Jan 29, 4:08 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> "Szabolcs Nagy" <nszabo... at gmail.com> writes:
> > file('/dev/urandom').read(6).encode('base64')
> > (oneliner and without import sa op requested)Nice, though Un*x dependent (os.urandom is supposed to be portable).
Is os.urandom cryptographically strong on all platforms?
More information about the Python-list
mailing list