cryptography.hazmat.primitives.ciphers
cryptography.hazmat.primitives
This module has no docstring.
authenticate_additional_data(self, data: bytes) -> None Authenticates the provided bytes.
finalize_with_tag(self, tag: bytes) -> bytes Returns the results of processing the final block as bytes and allows delayed passing of the authentication tag.
tag = <abc.abstractproperty object at 0x7ff35ff3e0a0> Returns tag bytes. This is only available after encryption is finalized.
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>
block_size = <abc.abstractproperty object at 0x7ff35ff32fa0> The size of a block as an integer in bits (e.g. 64, 128).
decryptor(self)
encryptor(self)
key_size = <abc.abstractproperty object at 0x7ff35ff32ee0> The size of the key being used as an integer in bits (e.g. 128, 256).
key_sizes = <abc.abstractproperty object at 0x7ff35ff32e80> Valid key sizes for this algorithm in bits
name = <abc.abstractproperty object at 0x7ff35ff32e20> A string naming this mode (e.g. "AES", "Camellia").
cipher_supported(self, cipher, mode) Return True if the given cipher and mode are supported.
create_symmetric_decryption_ctx(self, cipher, mode) Get a CipherContext that can be used for decryption.
create_symmetric_encryption_ctx(self, cipher, mode) Get a CipherContext that can be used for encryption.
finalize(self) -> bytes Returns the results of processing the final block as bytes.
update(self, data: bytes) -> bytes Processes the provided bytes through the cipher and returns the results as bytes.
update_into(self, data: bytes, buf) -> int Processes the provided bytes and writes the resulting data into the provided buffer. Returns the number of bytes written.
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>
utils = <cryptography.utils._ModuleWithDeprecations object at 0x7ff35ffbbb20>