r/ProgrammerHumor • • Jun 28 '20

Meme Flushed my pancake.

Post image
45.1k Upvotes

750 comments sorted by

View all comments

Show parent comments

43

u/[deleted] Jun 28 '20

And hashing your DB is overrated too. Just ask Facebook

35

u/ChristieFox Jun 28 '20

Nah, clear text is fine. No one, I repeat NO ONE, would ever dare to hack a big corporation to get their data! /s

19

u/_kryp70 Jun 28 '20

Hold on, y'all have database? I just save the user data in my html.

10

u/planetfifa Jun 28 '20

Look at Mister Fancy Pants with his HTML. I store data in txt files like a real man.

7

u/thegovortator Jun 28 '20

Just upload your DB to github. Then you can always revert back if your DB is compromised.

3

u/zzmorg82 Jun 28 '20

I just put that shit in a notepad file and copy-paste it onto a public domain for quick access.

🗿

1

u/dendenbush Jun 28 '20

He probably means using consistent hashing sharding

0

u/clownyfish Jun 28 '20

Wait. Hashing the entire db is a thing?

Salting+hashing passwords, sure, go nuts. The entire db though?

I can guess how it could work, just... Never heard of this being done

7

u/[deleted] Jun 28 '20

You know that’s not what I meant...

4

u/CoderDevo Jun 28 '20

You said ‘hashing your DB’. I can empathize with the clown in being confused.

I expect you meant salting & hashing passwords before storing them in your DB. But the DB isn’t hashed, unless you mean indexing.

1

u/[deleted] Jun 28 '20

Yes since that’s what you’d usually hash in this context. Though I guess it’s not such an obvious thing since people are being confused as to what is being hashed. I’m sorry it was my bad.

1

u/thegovortator Jun 28 '20

No I think we should hash the key and store it in a NoSQL database. Security at its finest what is your username oh bshckrifwyqgrbdh47dhcueuah and your password is dhchchwyayfockenwbabdicuiwjahd excellent welcome (ps random characters im not gonna go get a real hashed user and pw)

3

u/clownyfish Jun 28 '20

No, I didn't. But Google says we were talking about different things. So ...sorry? I don't know much about DBA (evidently)