Changed func name
This commit is contained in:
parent
79ed20bbf7
commit
70c98d2062
@ -10,5 +10,5 @@ def encrypt_master_pass(passwd: str) -> tuple[bytes, bytes]:
|
|||||||
return (hashed, salt)
|
return (hashed, salt)
|
||||||
|
|
||||||
|
|
||||||
def encrypt_master_pass_known_host(passwd: str, salt: bytes) -> bytes:
|
def encrypt_master_pass_known_salt(passwd: str, salt: bytes) -> bytes:
|
||||||
return bcrypt.hashpw(passwd.encode("utf-8"), salt)
|
return bcrypt.hashpw(passwd.encode("utf-8"), salt)
|
||||||
|
Reference in New Issue
Block a user