Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why BCrypt? #1595

Open
diogob opened this issue Apr 25, 2023 · 0 comments
Open

Why BCrypt? #1595

diogob opened this issue Apr 25, 2023 · 0 comments

Comments

@diogob
Copy link

diogob commented Apr 25, 2023

From what I could gather from the library code and docs the tokens are generated with a good source of entropy and do have a fixed lifestyle. Taking this into account wouldn't make more sense to use a fast hashing algorithm such as sha-2 ?

This would greatly lower the computational cost without any sacrifice of security. Or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant