comparison bin/password @ 12349:f468498767e6 draft

<wib_jonas> `` perl -pi -e s/random/secrets/ /hackenv/bin/password
author HackEso <hackeso@esolangs.org>
date Wed, 04 Nov 2020 14:35:42 +0000
parents 6dff80b6fb44
children 2678f7ed17a8
comparison
equal deleted inserted replaced
12348:51ef64f7e399 12349:f468498767e6
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 import random 3 import secrets
4 import string 4 import string
5 5
6 print "".join(random.choice(string.ascii_lowercase) for _ in xrange(15)) 6 print "".join(secrets.choice(string.ascii_lowercase) for _ in xrange(15))