Commit f63b75c0 authored by ibuler's avatar ibuler

fix 随机密码默认长度

parent 8f1e8af2
......@@ -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
随机生成密码
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment