You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
The EncodingHashBean has a weird sort of asymmetry.
The #compare method will properly compare a salted hash, if the salt appended.
However the #hash method does not properly append a salt to hash.
It cannot know whether the input array contains a salt.
Add a salted property to the EncodingHashBean which will allow the code to use the last parameter provided to #hash as the salt.
The text was updated successfully, but these errors were encountered:
The EncodingHashBean has a weird sort of asymmetry.
The #compare method will properly compare a salted hash, if the salt appended.
However the #hash method does not properly append a salt to hash.
It cannot know whether the input array contains a salt.
Add a salted property to the EncodingHashBean which will allow the code to use the last parameter provided to #hash as the salt.
The text was updated successfully, but these errors were encountered: