4 ms·
Another solution is to treat every password as binary. Text works. UUIDs work. Everything works. But folks went down the text-password road a long time ago, so
by JoeAltmaier 11y ago
Another solution is to treat every password as binary. Text works. UUIDs work. Everything works. But folks went down the text-password road a long time ago, so we're stuck with this for now.
- dchest 11y agoPasswords-based systems assume input, and most UI frameworks use text strings for inputs. Binary password is usually not called a password, it's a key.
- smsm42 11y agoExactly, so if they are not meant to be input, as the article claims, why are they passwords and not keys? Why they are even checked to be valid unicode strings? I know of no encryption algorithm that cares about key being a valid unicode string. Looks like just laziness in distinguishing which data should be binary and which should be Unicode string.