Bug 1982

Summary: different behavior compared to php (openwall version of bcrypt)
Product: jBCrypt Reporter: roman_v15
Component: DefaultAssignee: Damien Miller <djm>
Status: CLOSED MOVED    
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: All   
OS: All   

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