Sorted imports
This commit is contained in:
parent
b523a7574d
commit
08b0603e23
@ -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