From 9d8d9cfdd6182a753090fdc9d667b4d13d3d2e0e Mon Sep 17 00:00:00 2001 From: StNicolay <103897650+StNicolay@users.noreply.github.com> Date: Mon, 26 Sep 2022 21:45:10 +0300 Subject: [PATCH] Made generate_keys private --- src/cryptography/other_accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptography/other_accounts.py b/src/cryptography/other_accounts.py index a184851..0c983bc 100644 --- a/src/cryptography/other_accounts.py +++ b/src/cryptography/other_accounts.py @@ -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,