Changed func name

This commit is contained in:
StNicolay 2022-10-05 18:47:51 +03:00
parent 79ed20bbf7
commit 70c98d2062

View File

@ -10,5 +10,5 @@ def encrypt_master_pass(passwd: str) -> tuple[bytes, bytes]:
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)