fnp
/
cas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix
[cas.git]
/
src
/
accounts
/
utils.py
1
import string
2
import secrets
3
4
def make_random_password(length=12):
5
alphabet = string.ascii_letters + string.digits
6
return ''.join(secrets.choice(alphabet) for i in range(length))
7