Pycryptodome

Latest version: v3.21.0

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 11

3.6.4

Not secure
+++++++++++++++++++++

New features
------------

* Build Python 3.7 wheels on Linux, Windows and Mac.

Resolved issues
---------------

* GH178: Rename ``_cpuid`` module to make upgrades more robust.
* More meaningful exceptions in case of mismatch in IV length (CBC/OFB/CFB modes).
* Fix compilation issues on Solaris 10/11.

3.6.3

Not secure
+++++++++++++++++++++

Resolved issues
---------------

* GH175: Fixed incorrect results for CTR encryption/decryption with more than 8 blocks.

3.6.2

+++++++++++++++++++++

New features
------------
* ChaCha20 accepts 96 bit nonces (in addition to 64 bit nonces)
as defined in RFC7539.
* Accelerate AES-GCM on x86 using PCLMULQDQ instruction.
* Accelerate AES-ECB and AES-CTR on x86 by pipelining AESNI instructions.
* As result of the two improvements above, on x86 (Broadwell):

- AES-ECB and AES-CTR are 3x faster
- AES-GCM is 9x faster

Resolved issues
---------------

* On Windows, MPIR library was stilled pulled in if renamed to ``gmp.dll``.

Breaks in compatibility
-----------------------

* In ``Crypto.Util.number``, functions ``floor_div`` and ``exact_div``
have been removed. Also, ``ceil_div`` is limited to non-negative terms only.

3.6.1

Not secure
+++++++++++++++++++++

New features
------------
* Added Google Wycheproof tests (https://github.com/google/wycheproof)
for RSA, DSA, ECDSA, GCM, SIV, EAX, CMAC.
* New parameter ``mac_len`` (length of MAC tag) for CMAC.

Resolved issues
---------------

* In certain circumstances (at counter wrapping, which happens on average after
32 GB) AES GCM produced wrong ciphertexts.
* Method ``encrypt()`` of AES SIV cipher could be still called,
whereas only ``encrypt_and_digest()`` is allowed.

3.6.0

Not secure
++++++++++++++++++++

New features
------------
* Introduced ``export_key`` and deprecated ``exportKey`` for DSA and RSA key
objects.
* Ciphers and hash functions accept ``memoryview`` objects in input.
* Added support for SHA-512/224 and SHA-512/256.

Resolved issues
---------------

* Reintroduced ``Crypto.__version__`` variable as in PyCrypto.
* Fixed compilation problem with MinGW.

3.5.1

Not secure
++++++++++++++++++++

Resolved issues
---------------

* GH142. Fix mismatch with declaration and definition of addmul128.

Page 7 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.