Fixed typo

This commit is contained in:
Spitap
2023-05-04 08:17:31 +02:00
parent 8cf7ec91a2
commit 5119332182
+1 -1
View File
@@ -40,7 +40,7 @@ class BLFCRYPTHasher(PasswordHasher):
# rounds = parameters.get_global_parameter("rounds_number")
# To get around this, I use the default of 12.
rounds = 12
return bcrypt.hash.using(rounds=rounds).hash(clearvalue)
return bcrypt.using(rounds=rounds).hash(clearvalue)
def verify(self, clearvalue, hashed_value):
return bcrypt.verify(clearvalue, hashed_value)