PackageTrack
Sign in Get early access

zendframework/zend-crypt

Abandoned; use laminas/laminas-crypt. Strong cryptography tools and password hashing

3.3.1 15M downloads/mo #4721 most downloaded on Packagist zendframework/zend-crypt

What this package is like to depend on

Last release 7 years ago

no release in 18 months

Release timing varies

gaps range from 4 weeks to 13 months

Rarely documented

notes for 9 of 68 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

68 releases · first in 2012

0 releases in the last 12 months

see the full history below

Release timeline

36 releases · Oct 2012 to May 2019
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 68
  1. 3.3.1 14 May 2019
    Release notes

    Added

    • #60 adds support for PHP 7.3.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #60 adds support for PHP 7.3.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  2. 3.3.0 24 Apr 2018
    Release notes

    Added

    • #52 adds support for PHP 7.2.

    Changed

    • #55 updates Zend\Crypt\Hmac to use hash_hmac_algos instead of hmac_algos
      when it is present.

    • #50 updates all classes to import functions and constants they use.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #52 adds support for PHP 7.2.

    Changed

    • #55 updates Zend\Crypt\Hmac to use hash_hmac_algos instead of hmac_algos when it is present.

    • #50 updates all classes to import functions and constants they use.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  3. 3.2.1 17 Jul 2017
    Release notes

    Added

    • #42 Added the CTR mode for OpenSSL.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #48 Incorrect Rsa type declaration in Hybrid constructor.
    Open source →
    Release notes

    Added

    • #42 Added the CTR mode for OpenSSL.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #48 Incorrect Rsa type declaration in Hybrid constructor.
    Open source →
  4. 3.2.0 06 Dec 2016
    Release notes

    Added

    • #38 Support of GCM and
      CCM encryption mode for OpenSSL with PHP 7.1+

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #38 Support of GCM and CCM encryption mode for OpenSSL with PHP 7.1+

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  5. 3.1.0 11 Aug 2016
    Release notes

    Added

    • #32 adds a new Hybrid encryption utility, to allow OpenPGP-like encryption/decryption of messages using OpenSSL. See the documentation for details.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #32 adds a new Hybrid encryption utility, to allow OpenPGP-like encryption/decryption of messages using OpenSSL. See the documentation for details.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  6. 3.0.0 21 Jun 2016
    Release notes

    Added

    • #22 adds a requirement on ext/mbstring in order to install successfully.
    • #25 adds a new symmetric encryption adapter for the OpenSSL extension; this is now the default adapter used internally by the component when symmetric encryption is required.
    • #25 adds support for zend-math v3.
    • #26 adds Zend\Crypt\Password\Bcrypt::benchmarkCost(), which allows you to find the maximum cost value possible for your hardware within a 50ms timeframe.
    • #11 adds a new option to the Zend\Crypt\PublicKey\RsaOptions class, openssl_padding (or setOpensslPadding(); this is now consumed in Zend\Crypt\PublicKey\Rsa::encrypt() and Zend\Crypt\PublicKey\Rsa::decrypt(), instead of the optional $padding argument.

    Deprecated

    • #25 deprecates usage of the mcrypt symmetric encryption adapter when used on PHP 7 versions, as PHP 7.1 will deprecate the mcrypt extension.

    Removed

    • #11 removes the optional $padding argument from each of Zend\Crypt\PublicKey\Rsa's encrypt() and decrypt() methods; you can now specify the value via the RsaOptions.
    • #25 removes support for zend-math v2 versions.
    • #29 removes support for PHP 5.5.

    Fixed

    • #22 updates all occurrences of substr() and strlen() to use mb_substr() and mb_strlen(), respectively. This provides better security with binary values.
    • #25 updates the Zend\Crypt\Password\Bcrypt implementation to use password_hash() and password_verify() internally, as they are supported in all PHP versions we support.
    • #19 fixes the DiffieHellman publickey implementation to initialize the BigInteger adapter from zend-math as the first operation of its constructor, fixing a fatal error that occurs when binary data is provided.
    Open source →
    Release notes

    Added

    • #22 adds a requirement on ext/mbstring in order to install successfully.
    • #25 adds a new symmetric encryption adapter for the OpenSSL extension; this is now the default adapter used internally by the component when symmetric encryption is required.
    • #25 adds support for zend-math v3.
    • #26 adds Zend\Crypt\Password\Bcrypt::benchmarkCost(), which allows you to find the maximum cost value possible for your hardware within a 50ms timeframe.
    • #11 adds a new option to the Zend\Crypt\PublicKey\RsaOptions class, openssl_padding (or setOpensslPadding(); this is now consumed in Zend\Crypt\PublicKey\Rsa::encrypt() and Zend\Crypt\PublicKey\Rsa::decrypt(), instead of the optional $padding argument.

    Deprecated

    • #25 deprecates usage of the mcrypt symmetric encryption adapter when used on PHP 7 versions, as PHP 7.1 will deprecate the mcrypt extension.

    Removed

    • #11 removes the optional $padding argument from each of Zend\Crypt\PublicKey\Rsa's encrypt() and decrypt() methods; you can now specify the value via the RsaOptions.
    • #25 removes support for zend-math v2 versions.
    • #29 removes support for PHP 5.5.

    Fixed

    • #22 updates all occurrences of substr() and strlen() to use mb_substr() and mb_strlen(), respectively. This provides better security with binary values.
    • #25 updates the Zend\Crypt\Password\Bcrypt implementation to use password_hash() and password_verify() internally, as they are supported in all PHP versions we support.
    • #19 fixes the DiffieHellman publickey implementation to initialize the BigInteger adapter from zend-math as the first operation of its constructor, fixing a fatal error that occurs when binary data is provided.
    Open source →
  7. 2.6.0 03 Feb 2016
    Release notes

    Added

    • #18 adds documentation, and publishes it to https://zendframework.github.io/zend-crypt/

    Deprecated

    • Nothing.

    Removed

    • Removes the (development) dependency on zend-config; tests that used it previously have been updated to use ArrayObject, which implements the same behavior being tested.

    Fixed

    • #4 replaces the zend-servicemanager with container-interop, and refactors the various plugin managers to implement that interface instead of extending the AbstractPluginManager.
    Open source →
  8. 2.5.2 23 Nov 2015
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • ZF2015-10: Zend\Crypt\PublicKey\Rsa\PublicKey has a call to openssl_public_encrypt() which used PHP's default $padding argument, which specifies OPENSSL_PKCS1_PADDING, indicating usage of PKCS1v1.5 padding. This padding has a known vulnerability, the Bleichenbacher's chosen-ciphertext attack, which can be used to recover an RSA private key. This release contains a patch that changes the padding argument to use OPENSSL_PKCS1_OAEP_PADDING.

      Users upgrading to this version may have issues decrypting previously stored values, due to the change in padding. If this occurs, you can pass the constant OPENSSL_PKCS1_PADDING to a new $padding argument in Zend\Crypt\PublicKey\Rsa::encrypt() and decrypt() (though typically this should only apply to the latter):

      $decrypted = $rsa->decrypt($data, $key, $mode, OPENSSL_PKCS1_PADDING);
      

      where $rsa is an instance of Zend\Crypt\PublicKey\Rsa.

      (The $key and $mode argument defaults are null and Zend\Crypt\PublicKey\Rsa::MODE_AUTO, if you were not using them previously.)

      We recommend re-encrypting any such values using the new defaults.

    Open source →
  9. 2.5.1 03 Jun 2015

    Nothing published for this version

  10. 2.5.0 03 Jun 2015

    Nothing published for this version

  11. 2.4.13 23 Nov 2015

    Nothing published for this version

  12. 2.4.12 no date

    Nothing published for this version

  13. 2.4.11 no date

    Nothing published for this version

  14. 2.4.10 no date

    Nothing published for this version

  15. 2.4.9 no date
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • ZF2015-10: Zend\Crypt\PublicKey\Rsa\PublicKey has a call to openssl_public_encrypt() which used PHP's default $padding argument, which specifies OPENSSL_PKCS1_PADDING, indicating usage of PKCS1v1.5 padding. This padding has a known vulnerability, the Bleichenbacher's chosen-ciphertext attack, which can be used to recover an RSA private key. This release contains a patch that changes the padding argument to use OPENSSL_PKCS1_OAEP_PADDING.

      Users upgrading to this version may have issues decrypting previously stored values, due to the change in padding. If this occurs, you can pass the constant OPENSSL_PKCS1_PADDING to a new $padding argument in Zend\Crypt\PublicKey\Rsa::encrypt() and decrypt() (though typically this should only apply to the latter):

      $decrypted = $rsa->decrypt($data, $key, $mode, OPENSSL_PKCS1_PADDING);
      

      where $rsa is an instance of Zend\Crypt\PublicKey\Rsa.

      (The $key and $mode argument defaults are null and Zend\Crypt\PublicKey\Rsa::MODE_AUTO, if you were not using them previously.)

      We recommend re-encrypting any such values using the new defaults.

    hotfix/5

    Open source →
  16. 2.4.8 07 May 2015

    Nothing published for this version

  17. 2.4.7 no date

    Nothing published for this version

  18. 2.4.6 no date

    Nothing published for this version

  19. 2.4.5 no date

    Nothing published for this version

  20. 2.4.4 no date

    Nothing published for this version

  21. 2.4.3 no date

    Nothing published for this version

  22. 2.4.2 no date

    Nothing published for this version

  23. 2.4.1 no date

    Nothing published for this version

  24. 2.4.0 25 Mar 2015

    Nothing published for this version

  25. 2.3.9 13 Jan 2015

    Nothing published for this version

  26. 2.3.8 no date

    Nothing published for this version

  27. 2.3.7 no date

    Nothing published for this version

  28. 2.3.6 no date

    Nothing published for this version

  29. 2.3.5 no date

    Nothing published for this version

  30. 2.3.4 no date

    Nothing published for this version

  31. 2.3.3 11 Aug 2014

    Nothing published for this version

  32. 2.3.2 no date

    Nothing published for this version

  33. 2.3.1 14 Apr 2014

    Nothing published for this version

  34. 2.3.0 12 Mar 2014

    Nothing published for this version

  35. 2.2.10 05 Mar 2014

    Nothing published for this version

  36. 2.2.9 no date

    Nothing published for this version

  37. 2.2.8 no date

    Nothing published for this version

  38. 2.2.7 no date

    Nothing published for this version

  39. 2.2.6 no date

    Nothing published for this version

  40. 2.2.5 31 Oct 2013

    Nothing published for this version

  41. 2.2.4 21 Aug 2013

    Nothing published for this version

  42. 2.2.3 no date

    Nothing published for this version

  43. 2.2.2 22 Jul 2013

    Nothing published for this version

  44. 2.2.1 12 Jun 2013

    Nothing published for this version

  45. 2.2.0 10 May 2013

    Nothing published for this version

  46. 2.1.6 17 Apr 2013

    Nothing published for this version

  47. 2.1.5 no date

    Nothing published for this version

  48. 2.1.4 13 Mar 2013

    Nothing published for this version

  49. 2.1.3 19 Feb 2013

    Nothing published for this version

  50. 2.1.2 no date

    Nothing published for this version

  51. 2.1.1 06 Feb 2013

    Nothing published for this version

  52. 2.1.0 29 Jan 2013

    Nothing published for this version

  53. 2.0.8 26 Jan 2013

    Nothing published for this version

  54. 2.0.7 no date

    Nothing published for this version

  55. 2.0.6 19 Dec 2012

    Nothing published for this version

  56. 2.0.5 20 Nov 2012

    Nothing published for this version

  57. 2.0.4 no date

    Nothing published for this version

  58. 2.0.3 10 Oct 2012

    Nothing published for this version

  59. 2.4.0rc7 no date

    Nothing published for this version

  60. 2.4.0rc6 no date

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive