3 ms·
One could argue that base64 having a shorter output length than its input would weaken any given password, assuming a brute force attack (not a dictionary one).
by franky47 3y ago
One could argue that base64 having a shorter output length than its input would weaken any given password, assuming a brute force attack (not a dictionary one).
- LelouBil 3y agoBase64 turns 6 bits to a ASCII character (8 bits), I don't think it's possible to have a shorter output length.
- franky47 3y agoDamn, indeed, my bad. In my defense, I just had a new baby and didn't sleep much last night..
- iambateman 3y agoCongrats on the baby!
- cortesoft 3y agoMy brain never recovered from having kids. Good luck.
- LinuxBender 3y agoAdding to this here [1] is a chart that shows how several encodings affect size ratios of utf-8, 16 and 32. Of course that gets into the discussions [2][3] of using utf in passwords and I have no idea how many password schemes support this beyond what I use. [1] - https://github.com/qntm/base2048 https://github.com/qntm/base2048 [2] - https://security.stackexchange.com/questions/85663/is-it-a-good-idea-to-use-non-latin-unicode-characters-in-a-password https://security.stackexchange.com/questions/85663/is-it-a-g... [3] - https://security.stackexchange.com/questions/4943/will-using-unicode-chars-in-my-password-increase-security https://security.stackexchange.com/questions/4943/will-using...
- luismedel 3y agoSorry, but it's the opposite. A base64-encoded string will be ~30% longer than the original string.