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

Bcrypt exits with code 0 after calling hash method #1191

Open
0xtcb opened this issue Mar 6, 2025 · 0 comments
Open

Bcrypt exits with code 0 after calling hash method #1191

0xtcb opened this issue Mar 6, 2025 · 0 comments

Comments

@0xtcb
Copy link

0xtcb commented Mar 6, 2025

Description:

After switching my CPU to a Ryzen 7 1700, calling await hash(password, 10); using bcrypt causes the process to exit with code 0. This issue does not occur with bcryptjs.

Steps to reproduce:

Use bcrypt to hash a password:

await hash(password, 10);

Observe that the process exits with code 0.
Switching to bcryptjs in my case resolves the issue.

System Info:

CPU: AMD Ryzen 7 1700
bcrypt version: ^5.1.1

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