Skip to content

wilsonzlin/bcrypt-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

Generate bcrypt hashes

Resources

License

Stars

Watchers

Forks

Packages

No packages published