-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
If I hash asfd£ with salt $6$a7a5dc2fa314dda0 using this library I get:
$6$a7a5dc2fa314dda0$QWeHb0gFesNAVmsvX63.q5wbsV6./f7fmpF.DpqhTWzTQBO08koP65eqCOyTSMw4o8mnawc2hAtUf6f.P6VLb1
I can't login on a unix machine with the above hash. I try to gen the same thing using python and I get:
$ python -c 'import crypt; print crypt.crypt("asdf£", "$6$a7a5dc2fa314dda0")'
$6$a7a5dc2fa314dda0$E1GTcgT52oJFvhETaKwBk26Gy0GIzNQu2Mv4.UZwXp00CQi/8vC3IQKcrmpqbUaM2jFMOcDoShcxo1Mrt/Z5k/
If I take the £ out then the hashes are the same.
I've looked at the implementation and I can't see where the issue may lie.
Metadata
Metadata
Assignees
Labels
No labels