-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Added some missing hash constants in Zend/Crypt/Key/Derivation/SaltedS2k #6781
Conversation
@Ocramius |
@@ -26,13 +27,14 @@ class SaltedS2k | |||
'ripemd128' => MHASH_RIPEMD128, | |||
'ripemd256' => MHASH_RIPEMD256, | |||
'ripemd320' => MHASH_RIPEMD320, | |||
'haval128,3' => MHASH_HAVAL128, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the previous keys? Isn't this going to be a BC break?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes... i think... but old key maybe because of typo... should i target to develop?
Warm regards,
Abdul Malik Ikhsan
Pada 9 Des 2014, pukul 05.50, Marco Pivetta notifications@github.com menulis:
In library/Zend/Crypt/Key/Derivation/SaltedS2k.php:
@@ -26,13 +27,14 @@ class SaltedS2k
'ripemd128' => MHASH_RIPEMD128,
'ripemd256' => MHASH_RIPEMD256,
'ripemd320' => MHASH_RIPEMD320,
What about the previous keys? Isn't this going to be a BC break?'haval128,3' => MHASH_HAVAL128,
—
Reply to this email directly or view it on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping the old values with a deprecation comment would be better, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ocramius done ;). I've added old values and add @deprecated comment ;)
6ed31e0
to
bdcb740
Compare
…alted-derivation-key' Close #6781
@samsonasik merged, thx! |
…h-algorithm-constants-for-salted-derivation-key' Close zendframework/zendframework#6781
…h-algorithm-constants-for-salted-derivation-key' into develop Close zendframework/zendframework#6781 Forward port zendframework/zendframework#6781
and patch some spelling. based on http://php.net/manual/en/mhash.constants.php . /cc @ezimuel