> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# password-hash-pure-js

> bcryptjs hashes passwords in pure JavaScript on the main thread.

## What it flags

`bcryptjs` hashes in pure JavaScript and costs tens to hundreds of milliseconds of main-thread CPU per call.

## How to review or fix

Use native `bcrypt`, `@node-rs/bcrypt` or `argon2`. Reported once per file; test files are skipped.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "password-hash-pure-js": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.