cryptography.hazmat.primitives.kdf
cryptography.hazmat.primitives
This module has no docstring.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
derive(self, key_material: bytes) -> bytes Deterministically generates and returns a new key based on the existing key material.
verify(self, key_material: bytes, expected_key: bytes) -> None Checks whether the key generated by the key material matches the expected derived key. Raises an exception if they do not match.
derive(self, key_material: bytes) -> bytes
verify(self, key_material: bytes, expected_key: bytes) -> None
derive_scrypt(self, key_material, salt, length, n, r, p) Return bytes derived from provided Scrypt parameters.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
utils = <cryptography.utils._ModuleWithDeprecations object at 0x7f0227231bb0>