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