A container that helps generating bcrypt passwords from strings
323
Create a bcrypt password quickly in Docker. Includes strength modifier and more!
For usage, just run the container without any arguments like so:
docker run --rm -it onlinepromoters/bcrypt
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
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
Thank you to JohnStarich - https://github.com/JohnStarich
Content type
Image
Digest
Size
344.4 MB
Last updated
over 7 years ago
docker pull onlinepromoters/bcrypt