Archived
Sorted imports
This commit is contained in:
1 parent
b523a7574d
commit
08b0603e23
1 file changed
+1
-1
@@ -2,10 +2,10 @@ import base64
|
|||||||
|
|
||||||
import bcrypt
|
import bcrypt
|
||||||
|
|
||||||
|
from cryptography.fernet import Fernet
|
||||||
from cryptography.hazmat.backends import default_backend
|
from cryptography.hazmat.backends import default_backend
|
||||||
from cryptography.hazmat.primitives import hashes
|
from cryptography.hazmat.primitives import hashes
|
||||||
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
|
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
|
||||||
from cryptography.fernet import Fernet
|
|
||||||
|
|
||||||
|
|
||||||
def generate_key(salt: bytes, master_pass_hash: bytes) -> bytes:
|
def generate_key(salt: bytes, master_pass_hash: bytes) -> bytes:
|
||||||
|
|||||||
Reference in new issue
Block a user