Crates.io | phasher |
lib.rs | phasher |
version | 0.2.0 |
source | src |
created_at | 2024-06-24 18:56:29.088199 |
updated_at | 2024-11-27 09:30:06.713378 |
description | Simple CLI program hashing passwords into PHC strings |
homepage | |
repository | https://github.com/chardoncs/phasher.git |
max_upload_size | |
id | 1282445 |
size | 20,080 |
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