Skip to content

Version 1.2.0

Compare
Choose a tag to compare
@paragonie-scott paragonie-scott released this 01 Sep 01:22
· 495 commits to master since this release
v1.2.0

This is a small release, but it required a deceptively large amount of behind-the-scenes effort to get it ready.

  • Sodium_compat now works on 32-bit operating systems, including 64-bit Windows with PHP 5. However, some features (i.e. public key cryptography) are very slow.
    • In future versions, we may provide alternative backend implementations leverage GMP / BCMath (if the extensions are installed, otherwise, falls back to what we have now).
  • Added crypto_sign_ed25519_sk_to_curve25519().
    • We neglected its sister function, crypto_sign_ed25519_pk_to_curve25519(), due to added complexity and a desire to get this out the gate. If you need it today, this will do the trick:
      $pk = \Sodium\crypto_box_publickey_from_secretkey(\Sodium\crypto_sign_ed25519_sk_to_curve25519($sk));
    • The missing function will probably be added in v1.3.0.