Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# crypt-tool
A command line tool for hashing passwords using your system's libcrypt

Output 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.
```