Made generate_keys private

This commit is contained in:
StNicolay 2022-09-26 21:45:10 +03:00
parent 2f4bd2421b
commit 9d8d9cfdd6

View File

@ -8,7 +8,7 @@ from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
def generate_key(salt: bytes, master_pass_hash: bytes) -> bytes:
def _generate_key(salt: bytes, master_pass_hash: bytes) -> bytes:
kdf = PBKDF2HMAC(
algorithm=hashes.SHA256(),
length=32,