Security Fix
Read: A vulnerability in libsodium
This fixes a congruent issue in the main branch of the PHP implementation.
For older PHP versions, see v1.24.0 instead.
Unclaimed project
Are you a maintainer of sodium_compat? Claim this project to take control of your public changelog and roadmap.
Read: A vulnerability in libsodium
This fixes a congruent issue in the main branch of the PHP implementation.
For older PHP versions, see v1.24.0 instead.
Read: A vulnerability in libsodium
This fixes a congruent issue in the v1.x branch of the PHP implementation.
The biggest change (besides unit testing) in this release is the optimization of Curve25519 field arithmetic by using object properties instead of an internal array. This skips some internal overhead in PHP (i.e., hash tables and memory allocation) that we ultimately never needed.
Beyond that, we mostly expanded our unit test coverage. We're running Infection to...
We backported some optimizations from #198 by replacing the array in the Curve25519 field element with 10 integer object properties instead. The result is a 7% to 12% speedup for the overall PHPUnit suite.
Deletes the erroneous PSR-0 autoloader declaration from composer.json, fixing #196
Full Changelog: https://github.com/paragonie/sodium_compat/compare/v2.3.0...v2.3.1