Made generate_keys private
This commit is contained in:
parent
2f4bd2421b
commit
9d8d9cfdd6
@ -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,
|
||||
|
Reference in New Issue
Block a user