Repository navigation
Version 3.0.0
·
485 commits
to master
since this release
Version 3.0.0 is a breaking change in several ways:
- We now default to URL-safe Base64 encoding (RFC 4648).
- We now require users wrap plaintext in a
HiddenStringobject to hide it from stack traces in case an uncaught exception occurs. - 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.
KeyFactoryno longer accepts a$legacyargument.
- Added
TrimmedMerkleTreetoStructures. - Use
is_callable()instead offunction_exists()for better
compatibility with Suhosin.