Menu
DNS: The internet's phone book, but slower.
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
499.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.5M views
26 days ago
GUNNAR Optiks Mammoth Computer Glasses, Gaming, Onyx, Blue Light Blocking, 61mm Lens Width, X-tra Wide, Rectangular, Precision Engineered Polymer, Amber Lens
Affiliate
$49.00
NordVPN
Sponsored
VPN