Pycrypto

Latest version: v2.6.1

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

Scan your dependencies

Page 3 of 4

2.0.1

Not secure
=====

* Fix SHA256 and RIPEMD on AMD64 platform.
* Deleted Demo/ directory.
* Add PublicKey to Crypto.__all__

2.0

Not secure
===

* Added SHA256 module contributed by Jeethu Rao, with test data
from Taylor Boon.

* Fixed AES.c compilation problems with Borland C.
(Contributed by Jeethu Rao.)

* Fix ZeroDivisionErrors on Windows, caused by the system clock
not having enough resolution.

* Fix 2.1/2.2-incompatible use of (key not in dict),
pointed out by Ian Bicking.

* Fix FutureWarning in Crypto.Util.randpool, noted by James P Rutledge.

1.9alpha6

=========

* Util.number.getPrime() would inadvertently round off the bit
size; if you asked for a 129-bit prime or 135-bit prime, you
got a 128-bit prime.

* Added Util/test/prime_speed.py to measure the speed of prime
generation, and PublicKey/test/rsa_speed.py to measure
the speed of RSA operations.

* Merged the _rsa.c and _dsa.c files into a single accelerator
module, _fastmath.c.

* Speed improvements: Added fast isPrime() function to _fastmath,
cutting the time to generate a 1024-bit prime by a factor of 10.
Optimized the C version of RSA decryption to use a longer series
of operations that's roughly 3x faster than a single
exponentiation. (Contributed by Joris Bontje.)

* Added support to RSA key objects for blinding and unblinding
data. (Contributed by Joris Bontje.)

* Simplified RSA key generation: hard-wired the encryption
exponent to 65537 instead of generating a random prime;
generate prime factors in a loop until the product
is large enough.

* Renamed cansign(), canencrypt(), hasprivate(), to
can_sign, can_encrypt, has_private. If people shriek about
this change very loudly, I'll add aliases for the old method
names that log a warning and call the new method.

1.9alpha5

=========

* Many randpool changes. RandomPool now has a
randomize(N:int) method that can be called to get N
bytes of entropy for the pool (N defaults to 0,
which 'fills up' the pool's entropy) KeyboardRandom
overloads this method.

* Added src/winrand.c for Crypto.Util.winrandom and
now use winrandom for _randomize if possible.
(Calls Windows CryptoAPI CryptGenRandom)

* Several additional places for stirring the pool,
capturing inter-event entropy when reading/writing,
stirring before and after saves.

* RandomPool.add_event now returns the number of
estimated bits of added entropy, rather than the
pool entropy itself (since the pool entropy is
capped at the number of bits in the pool)

* Moved termios code from KeyboardRandomPool into a
KeyboardEntry class, provided a version for Windows
using msvcrt.

* Fix randpool.py crash on machines with poor timer resolution.
(Reported by Mark Moraes and others.)

* If the GNU GMP library is available, two C extensions will be
compiled to speed up RSA and DSA operations. (Contributed by
Paul Swartz.)

* DES3 with a 24-byte key was broken; now fixed.
(Patch by Philippe Frycia.)

1.9alpha4

=========

* Fix compilation problem on Windows.

* HMAC.py fixed to work with pre-2.2 Pythons

* setup.py now dies if built with Python 1.x

1.9alpha3

=========

* Fix a ref-counting bug that caused core dumps.
(Reported by Piers Lauder and an anonymous SF poster.)

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.