/phasher

Simple CLI program hashing passwords into PHC strings

Primary LanguageRustMIT LicenseMIT

phasher

Simple CLI program hashing passwords into PHC strings.

Usage

Basic

Provide one string:

phasher "Hello world"

Or multiple strings: (since v0.2)

phasher "Hello world" GoodMorning 'GoodNight'

Algorithms

By default, phasher uses Argon2 to hash your data. You can also choose different algorithms.

phasher "Hello world" -a scrypt

stdin reading (since v0.2)

If there are no strings provided, phasher will read stdin instead:

phasher << EOF
Hello world
Welcome!
EOF
phasher < /path/to/a/file.txt

You can also use piping to pass data into phasher:

printf %s "Hello world" | phasher
cat /path/to/a/file.txt | phasher