• Home
  • Raw
  • Download

Lines Matching refs:ciphers

7 .. module:: cryptography.hazmat.primitives.ciphers
26 :class:`~cryptography.hazmat.primitives.ciphers.algorithms.AES` with a
28 :class:`~cryptography.hazmat.primitives.ciphers.modes.CBC` or
29 :class:`~cryptography.hazmat.primitives.ciphers.modes.CTR`. A simple
35 >>> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
48 :class:`~cryptography.hazmat.primitives.ciphers.CipherAlgorithm`
51 :param mode: A :class:`~cryptography.hazmat.primitives.ciphers.modes.Mode`
65 :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`
75 :class:`~cryptography.hazmat.primitives.ciphers.CipherContext`
87 .. currentmodule:: cryptography.hazmat.primitives.ciphers.algorithms
116 :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305`
119 :class:`~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305`
149 >>> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
201 Weak ciphers
206 These ciphers are considered weak for a variety of reasons. New
233 >>> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
260 .. module:: cryptography.hazmat.primitives.ciphers.modes
264 CBC (Cipher Block Chaining) is a mode of operation for block ciphers. It is
283 >>> from cryptography.hazmat.primitives.ciphers.modes import CBC
291 >>> from cryptography.hazmat.primitives.ciphers.modes import CBC
300 Counter mode is not recommended for use with block ciphers that have a
303 CTR (Counter) is a mode of operation for block ciphers. It is considered
319 OFB (Output Feedback) is a mode of operation for block ciphers. It
333 CFB (Cipher Feedback) is a mode of operation for block ciphers. It
347 CFB (Cipher Feedback) is a mode of operation for block ciphers. It
366 :class:`~cryptography.hazmat.primitives.ciphers.aead.AESGCM` instead
371 (:meth:`~cryptography.hazmat.primitives.ciphers.CipherContext.finalize`
373 :meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`)
377 GCM (Galois Counter Mode) is a mode of operation for block ciphers. An
411 :meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`.
432 from cryptography.hazmat.primitives.ciphers import (
501 :class:`~cryptography.hazmat.primitives.ciphers.algorithms.AES`.
532 ciphers. Each block of data is encrypted in the same way. This means
541 .. currentmodule:: cryptography.hazmat.primitives.ciphers
551 Block ciphers require that the plaintext or ciphertext always be a multiple
554 apply any padding; you'll need to add your own. For block ciphers the
558 :class:`~cryptography.hazmat.primitives.ciphers.modes.CTR`) you don't have
570 :class:`~cryptography.hazmat.primitives.ciphers.modes.CTR`), this will
600 >>> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
632 :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM`) the result will
658 :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` an object
676 :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` an object
698 of the :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` mode
700 :meth:`~cryptography.hazmat.primitives.ciphers.CipherContext.finalize`.
733 .. currentmodule:: cryptography.hazmat.primitives.ciphers.modes
751 :param cryptography.hazmat.primitives.ciphers.CipherAlgorithm algorithm:
758 :class:`~cryptography.hazmat.primitives.ciphers.modes.CBC` mode uses