PackageTrack
Sign in Get early access

paragonie/constant_time_encoding

Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)

v3.1.3 385M downloads/mo #101 most downloaded on composer paragonie/constant_time_encoding

What this package is like to depend on

Last release 11 months ago

24 Sep 2025

Ships fairly regularly

a new release about every 10 months

Some releases are documented

notes for 10 of 39 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

39 releases · first in 2016

7 releases in the last 12 months

see the full history below

Release timeline

39 releases · Feb 2016 to Sep 2025
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 39
  1. v3.1.3 24 Sep 2025
    Release notes

    This release fixes a bug with base64 codecs when ext-sodium installed.

    What's Changed

    New Contributors

    Full Changelog: v3.1.2...v3.1.3

    Open source →
  2. v3.1.2 24 Sep 2025
    Release notes

    Thanks @TimWolla for identifying a performance hit caused by attempting to find global functions such as strlen() in the current namespace before the global namespace.

    What's Changed

    Full Changelog: v3.1.1...v3.1.2

    Open source →
  3. v3.1.1 22 Sep 2025
    Release notes

    What's Changed

    • Remove mbstring.func_overload compatibility layer by @TimWolla in #58
    • Fixed #27 by making the test less redundant.

    Full Changelog: v3.1.0...v3.1.1

    Open source →
  4. v3.1.0 22 Sep 2025
    Release notes

    Important: If you enable ext-sodium, some codecs will now be faster with our library: hex, base64, base64url. This requires the actual extension be installed; sodium_compat will not provide these implementations.

    As with the recent sodium_compat release, this library now incorporates fuzz-testing and mutation testing as part of our development strategy. Fuzz testing is enabled on pull requests; mutation tests on releases.

    The current metrics for a mutation test run (using the latest version of Infection):

     1782 mutations were generated:
        1470 mutants were killed by Test Framework
         296 covered mutants were not detected
           5 errors were encountered
          11 time outs were encountered
    Metrics:
             Mutation Code Coverage: 100%
             Covered Code MSI: 83%
    

    We set the minimum MSI for covered code to 80% by policy, but will slowly be increasing it in future releases.

    What's Changed

    Full Changelog: v3.0.0...v3.1.0

    Open source →
  5. v3.0.0 08 May 2024
    Release notes
    • New major bump due to increased minimum PHP requirements (from PHP 7 to PHP 8)
    • Supports PHP 8.4 without deprecation warnings for implicit null
    Open source →
  6. v2.8.2 24 Sep 2025
    Release notes

    Backported fix from https://github.com/paragonie/constant_time_encoding/releases/tag/v3.1.3

    What's Changed

    Full Changelog: v2.8.1...v2.8.2

    Open source →
  7. v2.8.1 24 Sep 2025
    Release notes

    I'm going to continue backporting important fixes to v2.x for PHP 7 support while there is still significant v2 usage.

    What's Changed

    Full Changelog: v2.8.0...v2.8.1

    Open source →
  8. v2.8.0 22 Sep 2025
    Release notes

    This release backports the ext-sodium performance enhancement from v3.1.0.

    What's Changed

    Full Changelog: v2.7.0...v2.8.0

    Open source →
  9. v2.7.0 08 May 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.6.3...v2.7.0

    Open source →
  10. v2.6.3 14 Jun 2022
    Release notes
    • #40 - Improved performance of Hex
    • #43 / #46 - Add .gitattributes to .gitattributes
    • #41 - Consistent use of \ global namespace qualifiers
    Open source →
  11. v2.6.2 13 Jun 2022

    Nothing published for this version

  12. v2.6.1 11 Jun 2022

    Nothing published for this version

  13. v2.6.0 10 Jun 2022

    Nothing published for this version

  14. v2.5.0 17 Jan 2022

    Nothing published for this version

  15. v2.4.0 06 Dec 2020

    Nothing published for this version

  16. v2.3.0 06 Nov 2019

    Nothing published for this version

  17. v2.2.3 03 Jan 2019

    Nothing published for this version

  18. v2.2.2 10 Mar 2018

    Nothing published for this version

  19. v2.2.1 23 Jan 2018

    Nothing published for this version

  20. v2.2.0 22 Sep 2017

    Nothing published for this version

  21. v2.1.1 16 Sep 2017

    Nothing published for this version

  22. v2.0.3 11 Jul 2016

    Nothing published for this version

  23. v2.0.2 13 Jun 2016

    Nothing published for this version

  24. v2.0.1 10 May 2016

    Nothing published for this version

  25. v2.0.0 08 Apr 2016

    Nothing published for this version

  26. v1.1.0 17 Jan 2022

    Nothing published for this version

  27. v1.0.4 30 Apr 2018

    Nothing published for this version

  28. v1.0.3 29 Apr 2018

    Nothing published for this version

  29. v1.0.2 10 Mar 2018

    Nothing published for this version

  30. v1.0.1 13 Jun 2016

    Nothing published for this version

  31. v1.0.0 08 Apr 2016

    Nothing published for this version

  32. v0.6.0 08 Apr 2016

    Nothing published for this version

  33. v0.5.1 24 Mar 2016

    Nothing published for this version

  34. v0.5.0 14 Mar 2016

    Nothing published for this version

  35. v0.4.0 13 Mar 2016

    Nothing published for this version

  36. v0.3.0 12 Mar 2016

    Nothing published for this version

  37. v0.2.1 12 Mar 2016

    Nothing published for this version

  38. v0.2.0 12 Mar 2016

    Nothing published for this version

  39. 0.1.0 03 Feb 2016

    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