Skip to content

Version 1.6.0

Compare
Choose a tag to compare
@paragonie-scott paragonie-scott released this 15 Feb 06:03
· 391 commits to master since this release
v1.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.