4 ms·
Maybe because encryption using public key is much more CPU intensive and slower than hashing? Since you have users logging into the system all the time, you wou
by babuskov 14y ago
Maybe because encryption using public key is much more CPU intensive and slower than hashing? Since you have users logging into the system all the time, you would need to encrypt the typed password in order to compare it with the record in the database, and this could put a great load on the server CPU if you have many users logging in.
- Evbn 14y agoThat is the goal. Slower hashing is harder to crack, is more secure. Login load is nothing compared to the rest of the app.