Back to module index

Go to module by name

cryptography.hazmat.primitives.kdf

cryptography.hazmat.primitives

cryptography.hazmat

cryptography

cryptography.hazmat.primitives.kdf.scrypt

This module has no docstring.

Classes

AlreadyFinalized

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

InvalidKey

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

KeyDerivationFunction

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.
        

Scrypt

derive(self, key_material: bytes) -> bytes
verify(self, key_material: bytes, expected_key: bytes) -> None

ScryptBackend

derive_scrypt(self, key_material, salt, length, n, r, p)


          Return bytes derived from provided Scrypt parameters.
        

UnsupportedAlgorithm

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

Other members

utils = <cryptography.utils._ModuleWithDeprecations object at 0x7f0227231bb0>

Modules

constant_time

sys