Random passwords generation (Python vs Perl) =)

sturlamolden sturlamolden at yahoo.no
Mon Jan 29 16:14:52 CET 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