Menu
Code quality metric: WTFs per minute.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Password hashing Memes
Posts tagged with Password hashing
O(n) Authentication: When Your Login System Is Also A Performance Test
Javascript
Programming
Debugging
Databases
Webdev
1 year ago
481.6K views
0 shares
The function loops through ALL USERS to find one with matching credentials instead of using a proper query. The comment is the chef's kiss: "This only works because there are not many users." It's like saying "my car doesn't need brakes because I don't drive fast." Bonus security nightmare: they're storing password hashes but comparing them directly instead of hashing the input password first. This authentication is basically a time bomb wrapped in spaghetti code!
Today's picks
Where's The Love
Programming
149.4M views
6 days ago
NordVPN
Sponsored
VPN
Sometimes my genius.......
Programming
100.1K views
3 years ago