Use `random_bytes` function if available

@hjr3 hjr3 released this Dec 6, 2016 · 3 commits to master since this release

This change adds an early return to PasswordHash->get_random_bytes() that defers random byte resolution to the core PHP random_bytes function if available.

Use `random_bytes` function if available

@hjr3 hjr3 released this Dec 6, 2016 · 13 commits to master since this release

  • Add an early return to PasswordHash->get_random_bytes() that defers random byte resolution to the random_bytes function if available.

Use `hash_equals` to prevent timing attacks

@hjr3 hjr3 released this Dec 6, 2016 · 12 commits to master since this release

BREAKING CHANGE: This will break anyone using < PHP 5.6

Additional changes to test environment:

  • Use travis-ci container support
  • Add PHP 7 support to travis
  • Remove older PHP version support in travis

0.3.4: Merge pull request #6 from pavarnos/patch-1

@adrienbrault adrienbrault released this May 12, 2015 · 13 commits to master since this release

  • Fix hash comparison that wasn't strict.

0.3.3

@baldurrensch baldurrensch released this Nov 6, 2014 · 15 commits to master since this release

Release after fixing version constraint in Composer file

0.3.2

@baldurrensch baldurrensch released this Nov 4, 2014 · 16 commits to master since this release

Due to a wrong composer file, not available via Packagist. Use ~0.3 instead

0.3.1

@baldurrensch baldurrensch released this Nov 6, 2014 · 21 commits to master since this release

Due to a wrong composer file, not available via Packagist. Use ~0.3 instead