cryptography.hazmat.primitives
This module has no docstring.
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.