Skip to content

Bcrypt exits with code 0 after calling hash method #1191

@0xtcb

Description

@0xtcb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions