💾 Archived View for tris.fyi › pydoc › cryptography.hazmat.primitives.ciphers.modes captured on 2022-04-28 at 17:44:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

➡️ Next capture (2022-07-16)

🚧 View Differences

-=-=-=-=-=-=-

Back to module index

Go to module by name

cryptography.hazmat.primitives.ciphers

cryptography.hazmat.primitives

cryptography.hazmat

cryptography

cryptography.hazmat.primitives.ciphers.modes

This module has no docstring.

Classes

CBC

_check_iv_and_key_length(self, algorithm)
initialization_vector = <property object at 0x7ff35ff40cc0>
name = 'CBC'

CFB

_check_iv_and_key_length(self, algorithm)
initialization_vector = <property object at 0x7ff35ff48040>
name = 'CFB'

CFB8

_check_iv_and_key_length(self, algorithm)
initialization_vector = <property object at 0x7ff35ff48130>
name = 'CFB8'

CTR

validate_for_algorithm(self, algorithm: cryptography.hazmat.primitives._cipheralgorithm.CipherAlgorithm)
name = 'CTR'
nonce = <property object at 0x7ff35ff48220>

CipherAlgorithm

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").
        

ECB

_check_aes_key_length(self, algorithm)
name = 'ECB'

GCM

validate_for_algorithm(self, algorithm: cryptography.hazmat.primitives._cipheralgorithm.CipherAlgorithm)
initialization_vector = <property object at 0x7ff35ff48360>
name = 'GCM'
tag = <property object at 0x7ff35ff48310>

Mode

validate_for_algorithm(self, algorithm: cryptography.hazmat.primitives._cipheralgorithm.CipherAlgorithm) -> None


          Checks that all the necessary invariants of this (mode, algorithm)
          combination are met.
        
name = <abc.abstractproperty object at 0x7ff35ff3e5e0>

          A string naming this mode (e.g. "ECB", "CBC").
        

ModeWithAuthenticationTag

tag = <abc.abstractproperty object at 0x7ff35ff3e760>

          The value of the tag supplied to the constructor of this mode.
        

ModeWithInitializationVector

initialization_vector = <abc.abstractproperty object at 0x7ff35ff3e640>

          The value of the initialization vector for this mode as bytes.
        

ModeWithNonce

nonce = <abc.abstractproperty object at 0x7ff35ff3e700>

          The value of the nonce for this mode as bytes.
        

ModeWithTweak

tweak = <abc.abstractproperty object at 0x7ff35ff3e6a0>

          The value of the tweak for this mode as bytes.
        

OFB

_check_iv_and_key_length(self, algorithm)
initialization_vector = <property object at 0x7ff35ff40ef0>
name = 'OFB'

XTS

validate_for_algorithm(self, algorithm: cryptography.hazmat.primitives._cipheralgorithm.CipherAlgorithm)
name = 'XTS'
tweak = <property object at 0x7ff35ff40db0>

Other members

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

Modules

abc

typing