hynek / argon2-cffi

Secure Password Hashes for Python
https://argon2-cffi.readthedocs.io/
MIT License
549 stars 47 forks source link

Let verify/hash method follow encoding argument of password hasher #141

Closed colinxu2020 closed 1 year ago

colinxu2020 commented 1 year ago

This pull request let verify/hash method follow the encoding argument of PasswordHasher My English is not very good,express may not accurate, please forgive me.

hynek commented 1 year ago

What exactly are you trying to solve? The hash as returned from the argon2 C library must always be ASCII bytes?

colinxu2020 commented 1 year ago

Sorry to take up your time, I don't know much about the underlying C library of argon2, sorry