null_pointer
null_pointer

Reputation: 1849

What's the best hashing algorithm when using a smaller user database

When it comes to hashing passwords the best algorithms are slower ones, Argon2 and bcrypt to name a few. However if you have a small user base, say around 10,000 users, are slower algorithms still the best solution?

Upvotes: 1

Views: 60

Answers (1)

martinstoeckli
martinstoeckli

Reputation: 24141

There is absolutely no argument against using best practise with smaller databases. The work, whether you call BCrypt or SHA-* is the same, maybe even smaller with BCrypt because the salt handling and storage is done for you.

Btw this would not be the first database/code designed for a small audience, but growing/reused for a much larger project.

Upvotes: 2

Related Questions