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>
block_size = 128
digest_size = <property object at 0x7f0227261400>
name = 'blake2b'
block_size = 64
digest_size = <property object at 0x7f02272614a0>
name = 'blake2s'
An interface for extendable output functions.
copy(self) -> 'Hash'
finalize(self) -> bytes
update(self, data: bytes) -> None
algorithm = <property object at 0x7f02272428b0>
block_size = <abc.abstractproperty object at 0x7f0227246c40> The internal block size of the hash function, or None if the hash function does not use blocks internally (e.g. SHA3).
digest_size = <abc.abstractproperty object at 0x7f0227246ac0> The size of the resulting digest in bytes.
name = <abc.abstractproperty object at 0x7f022722ed60> A string naming this algorithm (e.g. "sha256", "md5").
create_hash_ctx(self, algorithm) Create a HashContext for calculating a message digest.
hash_supported(self, algorithm) Return True if the hash algorithm is supported by this backend.
copy(self) -> 'HashContext' Return a HashContext that is a copy of the current context.
finalize(self) -> bytes Finalizes the hash context and returns the hash digest as bytes.
update(self, data: bytes) -> None Processes the provided bytes through the hash.
algorithm = <abc.abstractproperty object at 0x7f022724f340> A HashAlgorithm that will be used by this context.
block_size = 64
digest_size = 16
name = 'md5'
block_size = 64
digest_size = 20
name = 'sha1'
block_size = 64
digest_size = 28
name = 'sha224'
block_size = 64
digest_size = 32
name = 'sha256'
block_size = 128
digest_size = 48
name = 'sha384'
block_size = None
digest_size = 28
name = 'sha3-224'
block_size = None
digest_size = 32
name = 'sha3-256'
block_size = None
digest_size = 48
name = 'sha3-384'
block_size = None
digest_size = 64
name = 'sha3-512'
block_size = 128
digest_size = 64
name = 'sha512'
block_size = 128
digest_size = 28
name = 'sha512-224'
block_size = 128
digest_size = 32
name = 'sha512-256'
block_size = None
digest_size = <property object at 0x7f0227261220>
name = 'shake128'
block_size = None
digest_size = <property object at 0x7f02272612c0>
name = 'shake256'
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>