Skip to content

Version 3.0.0

Choose a tag to compare

@paragonie-scott paragonie-scott released this 30 Jul 18:36
· 485 commits to master since this release
v3.0.0

Version 3.0.0 is a breaking change in several ways:

  1. We now default to URL-safe Base64 encoding (RFC 4648).
  2. We now require users wrap plaintext in a HiddenString object to hide it from stack traces in case an uncaught exception occurs.
  3. We are no longer backwards compatible with version 1.

The minimum PHP version for Halite 3 remains PHP 7.0.

List of changes from v2.1.2

  • Use paragonie/constant_time_encoding
  • We now default to URL-safe Base 64 encoding (RFC 4648)
  • API change: Plaintext and password inputs must be a HiddenString
    object.
  • Dropped support for version 1.
    • We no longer offer or use scrypt anywhere. Everything is Argon2 now.
    • KeyFactory no longer accepts a $legacy argument.
  • Added TrimmedMerkleTree to Structures.
  • Use is_callable() instead of function_exists() for better
    compatibility with Suhosin.