Bug 1982 - different behavior compared to php (openwall version of bcrypt)
Summary: different behavior compared to php (openwall version of bcrypt)
Status: CLOSED MOVED
Alias: None
Product: jBCrypt
Classification: Unclassified
Component: Default (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Assignee: Damien Miller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 21:43 AEDT by roman_v15
Modified: 2022-02-25 13:56 AEDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roman_v15 2012-02-19 21:43:17 AEDT
The string "รพ" (which consists of a single character with decimal value 254) results in different hashes compared to php, using same salt.
Comment 1 Damien Miller 2012-02-24 11:05:13 AEDT
jBcrypt converts unicode to UTF-8 before hashing, I have no idea what Openwall/PHP do - they probably don't encode at all.
Comment 2 Damien Miller 2019-01-23 20:03:53 AEDT
jBCrypt is not longer in this bugtracker
Comment 3 Damien Miller 2022-02-25 13:56:11 AEDT
closing bugs resolved before openssh-8.9