- Update dependencies.
- Added
needsRehash()
method. - Added support for
$hashOptions
inhashAndEncrypt()
to support custom bcrypt costs. (This can also be used to support custom Argon2id parameters, should the default ever change in PHP.) - Drops support for PHP 7.2 and older.
Use v3.0.3 if you need older PHP support.
- Support PHP 8.
- The previous tag (v3.0.2) was erroneous and erased.
- Fixed
autoload.php
- Set minimum PHP version to 7.0
- Use strict_types
- Update
defuse/php-encryption
to2.0.0
- Use
paragonie/constant_time_encoding
- Added
PasswordLock::rotateKey()
to decrypt and re-encrypt a ciphertext. - Better test coverage.
- Fixed
composer.json
.
- Initial release.