Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chronos-tachyon/crypt-tool
A command line tool for hashing passwords using your system's libcrypt
https://github.com/chronos-tachyon/crypt-tool
Last synced: 7 days ago
JSON representation
A command line tool for hashing passwords using your system's libcrypt
- Host: GitHub
- URL: https://github.com/chronos-tachyon/crypt-tool
- Owner: chronos-tachyon
- License: bsd-2-clause
- Created: 2022-04-01T22:24:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-01T22:48:48.000Z (almost 3 years ago)
- Last Synced: 2024-11-16T02:36:06.606Z (2 months ago)
- Language: C
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crypt-tool
A command line tool for hashing passwords using your system's libcryptOutput of `crypt-tool --help`:
```
Hashes one or more passwords from the terminal or stdin.
Usage: crypt-tool [ []]Example command line session:
$ crypt '$2b$' 12
Password:
Hash: $2b$12$Z0vgnP2jil4YioUAGsDwa.nIkRS.we6hBNHyy4WutXlPT3V5D/ktO
Password:
$is a string, such as "$2b$", that selects an algorithm for
the generated password hashes. See crypt(5) for a list of supported
algorithms. If not specified, NULL is provided, which the manpage for
crypt_gensalt(3) says is supposed to select "the best available hashing
method", whatever that means.is the number of "rounds" of hashing to apply. Only some
algorithms use this value, and the meaning depends on which algorithm is
selected. If not specified, 0 is provided, which tells the selected
algorithm to use its best judgement.The input behavior depends on whether or not stdin is a terminal.
```