dissect.fve.bde.keys
¶
Module Contents¶
Functions¶
Stretch a password with a specified salt. |
|
Derive an AES key from a given user passphrase. |
|
Derive an AES key from a given recovery password. |
|
Check if a given recovery password is valid. |
- dissect.fve.bde.keys.stretch(password: bytes, salt: bytes, rounds: int = 1048576) bytes ¶
Stretch a password with a specified salt.
Bitlocker uses this as the key derivation algorithm.
- dissect.fve.bde.keys.derive_user_key(user_password: str) bytes ¶
Derive an AES key from a given user passphrase.
- dissect.fve.bde.keys.derive_recovery_key(recovery_password: str) bytes ¶
Derive an AES key from a given recovery password.
- dissect.fve.bde.keys.check_recovery_password(recovery_password: str) bool ¶
Check if a given recovery password is valid.