- Fixed
decrypt
method if a non hash is informed
- Added
AlgorithmEnum
enum
- Changed default cost for bcrypt to 12
- Changed constants in
HashAlgorithm
to deprecated
- Fixed
SensitiveParameter
attribute on passwords
- Fixed
getPepper
method inPepperTrait
- Added method to benchmark cost
- Added microseconds in
usleep
- Added set cost using
getOptimalBcryptCost
class - Added
password_get_info
inverifyHash
- Added
paragonie/sodium_compat
component
- Fixed usleep in
verifyHash
method - Fixed options at
password_hash
- Removed
HashException
class
- Added PHP 8.2 minimum version
- Added classes for encryption: OpenSSL and Sodium support
- Added
PepperTrait
trait to handle the peeper separately from theSecuryPassword
class
- Changed class structure
- Added support for PHP 8
- Added tests
- Added
_toString
in exception
- Changed
createHash
andverifyHash
methods
- Fixed HashAlgorithm
- Added settings in construct
- Changed HashAlgorithm constant to public
- Fixed bugs
- Changed
needsHash
method
- Added license
- Added project