Sign inSign up

onlinepromoters/bcrypt

By onlinepromoters

•Updated over 7 years ago

A container that helps generating bcrypt passwords from strings

Image
0

323

onlinepromoters/bcrypt repository overview

⁠Bcrypt

⁠Encrypt any string with bcrypt

Create a bcrypt password quickly in Docker. Includes strength modifier and more!

⁠Usage

For usage, just run the container without any arguments like so:

docker run --rm -it onlinepromoters/bcrypt
⁠Prompt for password

This will prompt you for a password and then hash it with a bcrypt generated salt at the default strength.

docker run --rm -it onlinepromoters/bcrypt -P

⁠Extra options

All other options are documented in the container itself but here's an example using the "strength" modifier:

docker run --rm -it onlinepromoters/bcrypt -p "YourClearTextPassword" -s 14

This hashes your clear text password and generates a bcrypt hash like: $2y$14$TwVZofVXDbBR1GwAXAds7e77iOp2qeOVLtdFdHY3uGCO0rEWb1Ycy The $14$ near the beginning of the hash represent the salt rounds. The "salt round" means the cost factor = how much time is needed to calculate a single BCrypt hash. Read here: http://bit.ly/2J53nEa⁠

⁠Credits

Thank you to JohnStarich - https://github.com/JohnStarich⁠

Tag summary

Content type

Image

Digest

Size

344.4 MB

Last updated

over 7 years ago

docker pull onlinepromoters/bcrypt