|
|
|
|
|
by jpc0
483 days ago
|
|
Database query is cheaper than multiple network calls and maybe even a database write? If I send the password they need to hash then compare. Only then do they need to generate some form of random number - write to some store - send a notification to the users device - query the store from the users device - likely again hash an compare - send a notification to the endpoint signing in. To do that for millions / billions of users seems like it would be expensive compared to a hash + DB lookup. |
|