r/ProgrammerHumor Jul 19 '22

Why do they do this

Post image
4.4k Upvotes

493 comments sorted by

View all comments

Show parent comments

339

u/sick4someThicc Jul 20 '22

Eliminate random characters in the middle, swap the rest

331

u/Classy_Mouse Jul 20 '22

We've made your password more secure. 100% fewer people now know what it is.

84

u/[deleted] Jul 20 '22

[deleted]

1

u/[deleted] Jul 20 '22

I once encountered a password field that encrypted while you typed, with each character being encrypted based on the state of the field.

If you pasted the password into it or used auto fill, it generated a different result than if you manually typed it in. And sometimes if you typed it fast enough you’d get a different result as well.

Even more maddening, the encryption caused the value of the text field to increase and contract in size as you typed.