Simple CLI program hashing passwords into PHC strings.
Provide one string:
phasher "Hello world"
Or multiple strings: (since v0.2)
phasher "Hello world" GoodMorning 'GoodNight'
By default, phasher uses Argon2 to hash your data. You can also choose different algorithms.
phasher "Hello world" -a scrypt
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