phasher

Crates.iophasher
lib.rsphasher
version0.2.0
sourcesrc
created_at2024-06-24 18:56:29.088199
updated_at2024-11-27 09:30:06.713378
descriptionSimple CLI program hashing passwords into PHC strings
homepage
repositoryhttps://github.com/chardoncs/phasher.git
max_upload_size
id1282445
size20,080
Charles Dong (chardoncs)

documentation

README

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
Commit count: 21

cargo fmt