@wzlin/bcrypt-cli

1.0.0 • Public • Published

bcrypt-cli

CLI to generate the bcrypt hash of a plaintext password.

Usage

npx @wzlin/bcrypt-cli -p PLAINTEXT_PASSWORD

To enter the password in a prompt instead of passing it as part of the command:

npx @wzlin/bcrypt-cli

Options

--password/-p

Password to hash. If omitted, password will be requested via a private prompt.

--rounds/-r

Amount of key expansion rounds to do. If omitted, defaults to 15.

Install

To install it as a command:

npm i -g bcrypt-cli

After installation, it can be used directly:

bcrypt-cli [...options]

Readme

Keywords

Package Sidebar

Install

npm i @wzlin/bcrypt-cli

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.02 kB

Total Files

4

Last publish

Collaborators

  • wilsonzlin