3 ms·
Considering that this will make password-related code much shorter and more readable, I think it's a good idea regardless of what level of competence you expect
by romaniv 14y ago
Considering that this will make password-related code much shorter and more readable, I think it's a good idea regardless of what level of competence you expect from the developers.
- underdown 14y agoI'll take "more secure" over short and readable any day.
- Kudos 14y agoIn some cases short and readable ends up as "more secure" by virtue of being implemented correctly.
- ErrantX 14y agoOr in this case; short and readable is more secure because attack vectors, like generation of salts, are wrapped inside the new API.
- regularfry 14y agoThere are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. - C. A. R. Hoare