encrypt.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:flask-online-store 作者: sunhuachuang 项目源码 文件源码
def encrypt(password, salt=None):
    return bcrypt.hashpw(password.encode('utf-8'), salt if salt else bcrypt.gensalt())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号