Hacker News new | past | comments | ask | show | jobs | submit login

And how does one define a SHA512 hash of a Unicode string?

UTF-8? UTF-16? Others?

But that’s not the worst thing…

What about normalization? Skip or implement? Should “equivalent” code points cause differing hashes?

Should one be able to use the same password from systems with differing locales/languages ?

ASCII is insufficient, but Unicode is a royal mess!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: