Releases: paragonie/sodium_compat
Releases · paragonie/sodium_compat
Version 1.6.3
- Update dependency for random_compat to allow
v9.99.99
to be installed on PHP 7 software.
Version 1.6.2
- Fix #68 which will make sodium_compat faster on PHP 7 projects
Version 1.6.1
- #64 - Added missing
SODIUM_CRYPTO_KX_SEEDBYTES
constant.
Version 1.6.0
sodium_crypto_pwhash()
now accepts an optional arg parameter, as per libsodium 1.0.15.- As always, this function is not polyfilled. Password hashing is obnoxiously slow to implement in PHP, so we opted to not polyfill it. We merely provide fallthrough functions.
- Fixed public-key cryptography on 32-bit systems (e.g. PHP 5 on Windows servers), which was broken for the 1.5 series.
- We now run unit tests against Windows, thanks to AppVeyor.
- Because the 32-bit version of the library is so slow, I inquired about their asking price to increase the maximum build time. @IlyaFinkelshteyn was kind enough to bump us up to 90 minutes for free, which was just long enough to get the tests to run before the optimizations.
- 32-bit mode: Optimized a lot of constant-time integer multiplication operations that previously took 63 additions. Further optimizations may be coming in future releases.
Version 1.5.6
Fixes #60 (a regression on 32-bit OSes caused by an optimization).
Version 1.5.5
- Our curve25519 implementation is an additional ~7% faster than it was in 1.5.4. This means that sodium_compat is more than twice as fast since v1.5.0 in the typical use-case. See #57 for details.
ParagonIE_Sodium_File
now correctly uses the 32-bit implementations on 32-bit operating systems.
Version 1.5.4
This patch release implements some significant performance enhancements as documented in #56.
As a result, public key cryptography operations should be at least 50% faster when our implementation is being used on 64-bit platforms.
Affects crypto_box_*
, crypto_kx
, crypto_scalarmult
, and crypto_sign_*
.
Version 1.5.3
Fix pasto. 2d5db12
Version 1.5.2
- Minor usability bug with
crypto_sign_ed25519_pk_to_curve25519()
. - Reverted a bad composer,json change that broke PHP <5.6 by requiring Psalm.
- Now without dancing with git tags.
Version 1.5.0
Finally implement crypto_sign_ed25519_pk_to_curve25519()
.