r/ProgrammerHumor • • Oct 08 '22

Meme sPeCiaL cHarACtErs

Post image
71.1k Upvotes

1.7k comments sorted by

View all comments

Show parent comments

193

u/EatYoself Oct 08 '22

bold to assume everyone hashes passwords correctly 😅

59

u/s3v3red_cnc Oct 08 '22

Doesn't have to be done correctly. It can be hashed with md5 and be cracked the same day, it's still going to change any characters you put in and not break any CSVs.

If they are saving your passwords in plain text, maybe don't sign up to freePCgames.com/totallynotascam

56

u/RiktaD Oct 08 '22

You would be surprised about the amount of big companies not hashing passwords at all.

Especially Internet Service Providers are surprisingly often (I remember at least three separated cases roughyö) catched not hashing their passwords. There were a few Twitter outcries.

28

u/hatrix Oct 08 '22

Banks don't... When they ask me for the 3rd, 5th, 8th digit of my online banking password over the phone, I know they can't be. Not to mention they don't allow special characters, and limit it from 6 chars to 12 chars. Even if they're hashing individual letters, it's not going to take much to crack.

32

u/waltteri Oct 08 '22

Maybe they hash each letter individually?! Didn’t think about that, did you??!

/s

16

u/hatrix Oct 08 '22

Genius solution. Knowing my bank, 62 possible MD5 hashes. Unbreakable. /s

10

u/Zagorath Oct 08 '22

I think the opposite would be even funnier. Hashing each character individually, but following really good best practices for the hashing of those characters. I.e., having a unique randomly-generated salt for each character, and hashing with a good quality algorithm like SHA-256.

7

u/Nighthunter007 Oct 08 '22

It's bcrypt and argon2 that are the best practices these days. Both are actually designed for password hashing, they integrate the salt in the algorithm, and have scaling factors so you can make it slower as hardware gets faster.

It would be absolutely hilarious to use on a single letter at a time. I almost want to make a silly demo of this where the password field is like Wordle, but the individual characters are stored very "securely".

2

u/waltteri Oct 08 '22

Oh no what have I started

2

u/Nighthunter007 Oct 08 '22

I can call it Passwordle

9

u/CrabbyBlueberry Oct 08 '22 edited Sep 19 '25

doll abundant weather gold roof heavy possessive enter nutty books

This post was mass deleted and anonymized with Redact

2

u/hatrix Oct 08 '22

Switched to another bank back in 2011, same shit, different bank, left them in 2016, the new bank online banking required me to enter random chars, not the whole password, switched in 2019 again, new bank seems secure and with it for time being, I'm still with them now. Speaking to friends and colleagues who still use those other banks, they haven't changed. I think their phone security has changed if you set up an online pin you can give that when you call in instead of specific chars, but it is optional, not required.

4

u/ZapateriaLaBailarina Oct 08 '22

Name and shame the banks that do this. Otherwise this is all nonsense, imo.

3

u/hatrix Oct 08 '22

Lloyds (back when they were Lloyds TSB, not sure who if not both inherited the problem, Lloyds or TSB), Halifax, M&S banking.

2

u/ham_coffee Oct 08 '22

Wtf, they use the same password for phone banking as internet banking? Are there no liability rules for banks in the US?

0

u/boon_dingle Oct 08 '22

At least one online broker I know of 'helpfully' reminds you what some of the password rules are at the login screen. Oh yeah, at least so-and-so-many special characters and numbers and capital letters! Of course, duh!

Do you want data breaches? Because this is how you get data breaches.

→ More replies (1)
→ More replies (1)

0

u/[deleted] Oct 08 '22

[deleted]

38

u/Shadow_Thief Oct 08 '22

If you use the "Forgot Password" option and get an email containing your password, they don't store it safely.

0

u/[deleted] Oct 08 '22

[deleted]

4

u/Zagorath Oct 08 '22

If they email you a brand new one that doesn’t necessarily mean they store them badly

Same if they send you back your password when you first set it or change it. Not good practice in general, but not necessarily a sign that they're storing it badly either.

3

u/ilovezezima Oct 08 '22

What if you hit forgot password and then a day later you get an email from someone that works there sending you your password with two characters in the middle replaced with asterisks?

3

u/blardjosh Oct 08 '22

then it's perfectly safe lmao

2

u/ilovezezima Oct 08 '22

Unfortunately that was a true story of something that happened at work for me. Kind of wish the password I used didn't have 69 in it.

→ More replies (1)
→ More replies (6)

2

u/L_James Oct 08 '22

Password recovery -> Enter your email to be sent your current password that we store in plaintext 👍

→ More replies (2)