Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnstarich/docker-bcrypt
Create a bcrypt password quickly with Docker.
https://github.com/johnstarich/docker-bcrypt
Last synced: about 2 months ago
JSON representation
Create a bcrypt password quickly with Docker.
- Host: GitHub
- URL: https://github.com/johnstarich/docker-bcrypt
- Owner: JohnStarich
- License: apache-2.0
- Created: 2015-09-26T08:17:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-26T10:29:02.000Z (over 9 years ago)
- Last Synced: 2024-05-01T21:20:16.986Z (8 months ago)
- Language: Python
- Size: 152 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-bcrypt
Create a bcrypt password quickly in Docker. Includes strength modifier and more!## Try it
Just do the following to give it shot:
```
docker run --rm -it johnstarich/bcrypt -P
```
This will prompt you for a password and then hash it with a bcrypt generated salt at the default strength.## Other options
All other options are documented in the container itself but here's an example using the "strength" modifier:
```
docker run --rm -it johnstarich/bcrypt -p "thing" -s 14
```
This hashes your password `thing` into something like `$2b$14$3s1Kkqo93Glpj92/vi9d2OBt0U.1Es2Y.Q7WAyoTAjrSUDwnG.4C6`
(the important part being the `$14$` near the beginning).For usage, just run the container without any arguments like so:
```
docker run --rm -it johnstarich/bcrypt
```