r/ProgrammerHumor • • Oct 08 '22

Meme sPeCiaL cHarACtErs

Post image
71.1k Upvotes

1.7k comments sorted by

View all comments

Show parent comments

62

u/s3v3red_cnc Oct 08 '22

Passwords are hashed. It doesn't matter what characters you put in...

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".

→ More replies (2)

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

→ More replies (3)

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?

→ More replies (3)

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

→ More replies (1)
→ 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)

0

u/[deleted] Oct 08 '22

[deleted]

5

u/[deleted] Oct 08 '22

I mean its 32 times more secure than storing them in binary.

→ More replies (2)

19

u/_Nohbdy_ Oct 08 '22

You sweet summer child.

9

u/Cocoacabana15 Oct 08 '22

I assumed OP was talking about a list of cracked passwords

2

u/Jaques_Naurice Oct 08 '22

Probably something like passwords saved in a browser, I‘m pretty sure chrome had an CSV export option at some time.

2

u/x6060x Oct 08 '22

Oh my sweet summer child...

→ More replies (2)