Skip to content

Releases: paragonie/sodium_compat

Version 1.6.3

06 Jun 18:05
v1.6.3
Compare
Choose a tag to compare
  • Update dependency for random_compat to allow v9.99.99 to be installed on PHP 7 software.

Version 1.6.2

22 May 20:22
v1.6.2
22f564d
Compare
Choose a tag to compare
  • Fix #68 which will make sodium_compat faster on PHP 7 projects

Version 1.6.1

21 Mar 17:09
v1.6.1
Compare
Choose a tag to compare
  • #64 - Added missing SODIUM_CRYPTO_KX_SEEDBYTES constant.

Version 1.6.0

15 Feb 06:03
v1.6.0
Compare
Choose a tag to compare
  • 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

30 Jan 13:21
v1.5.6
Compare
Choose a tag to compare

Fixes #60 (a regression on 32-bit OSes caused by an optimization).

Version 1.5.5

18 Jan 20:59
v1.5.5
Compare
Choose a tag to compare
  • 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

12 Jan 05:01
v1.5.4
552bb51
Compare
Choose a tag to compare

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

02 Jan 11:05
v1.5.3
Compare
Choose a tag to compare

Fix pasto. 2d5db12

Version 1.5.2

02 Jan 10:18
v1.5.2
Compare
Choose a tag to compare
  • 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

02 Jan 08:40
v1.5.0
Compare
Choose a tag to compare

Finally implement crypto_sign_ed25519_pk_to_curve25519().