Sodium Compat Versions Save

Pure PHP polyfill for ext/sodium

v1.17.0

2 years ago
  • Fixes several bugs with sodium_crypto_scalarmult_ristretto255() that was producing incorrect results in PHP 8.1
    • Off-by-one error in ge_scalarmult()
    • Multiplication optimizations led to incorrect results for some inputs
  • CI now runs against PHP 8.1

v1.16.1

3 years ago
  • Fixes #122 (undefined constant errors caused by autoloader race conditions)

v1.16.0

3 years ago

Special thanks to Tony Arcieri, Frank Denis, Isis Lovecruft, Mike Hamburg, and Henry de Valence for making this release possible.

v1.15.4

3 years ago
  • Prevent infinite loop with crypto_kx()
  • We're migrated from Github Actions to Travis CI now!

v1.15.3

3 years ago
  • Complete fix for #125.

v1.15.2

3 years ago
  • Always define the new polyfill functions even if PHP >= 7.2 and [an old version of] ext/sodium is used.

v1.15.1

3 years ago
  • Correct polyfill sodium_crypto_stream_xchacha20_xor

v1.15.0

3 years ago
  • Fixes #125
  • Adds sodium_crypto_stream_xchacha20
    • This exposes XChaCha20 with 64-bit ChaCha20 nonces and 64-bit ChaCha20 internal counters. This is in stark contrast to the IETF's 96-bit nonces (with leading NUL bytes) and 32-bit counters, as exposed in the AEAD interface. This is a subtle but important property.

v1.14.0

3 years ago
  • #119 - Side-step mbstring issues on newer PHP
  • #120 - Support PHPUnit 9
  • #121 - Use more inclusive language
  • Improved PHP 8 support

v1.13.0

4 years ago
  • Fix #113 and #116 via #117 - Should fix preloading issues with PHP 7.4+