Fix/bcrypt: added the set/get BackwardCompatibility #2647

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants
Owner

ezimuel commented Oct 2, 2012

I added the set/getBackwardCompatibility to Zend\Crypt\Password\Bcrypt to manage the old $2a$ prefix for the crypt() function of PHP.
If you set the backward compatibility to true the bcrypt output will always use $2a$ instead of the new $2y$ (introduced by PHP 5.3.7).
This change will fix the issue #2524.

Owner

ezimuel commented Oct 2, 2012

Merge after the scrypt PR zendframework#2430

@weierophinney weierophinney added a commit that referenced this pull request Oct 4, 2012

@weierophinney weierophinney [#2647] CS fixes
- Trailing whitespace
1fd9b98

weierophinney was assigned Oct 4, 2012

@weierophinney weierophinney added a commit to zendframework/zend-crypt that referenced this pull request May 15, 2015

@weierophinney weierophinney [zendframework/zendframework#2647] CS fixes
- Trailing whitespace
a9771dc

@weierophinney weierophinney added a commit to zendframework/zend-crypt that referenced this pull request May 15, 2015

@weierophinney weierophinney Merge branch 'feature/bcrypt-compat' into develop 4a6fb00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment