fix 随机密码默认长度

pull/31/head
ibuler 2015-12-24 11:31:05 +08:00
parent 8f1e8af2e1
commit f63b75c01b
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class PyCrypt(object):
self.mode = AES.MODE_CBC
@staticmethod
def gen_rand_pass(length, especial=False):
def gen_rand_pass(length=16, especial=False):
"""
random password
随机生成密码