基本上,您希望对哈希之前的数据进行编码:password.enpre(’utf-8’)。如果它是unipre,则可能会引发错误。也可以在这里看看:https : //github.com/maxcountryman/flask-
bcrypt/issues/9

基本上,您希望对哈希之前的数据进行编码:password.enpre(’utf-8’)。如果它是unipre,则可能会引发错误。也可以在这里看看:https : //github.com/maxcountryman/flask-
bcrypt/issues/9