1 unstable release
new 0.1.0 | Jan 12, 2025 |
---|
#120 in Visualization
127 downloads per month
46KB
1.5K
SLoC
lifehash - The Rust implementation
LifeHash is a method of hash visualization. This is a rust implementation of bc-lifehash, see there for an overview of LifeHash.
Dependencies
- clap for Command Line Parsing
- hex for encoding and decoding hex
- png for saving created image to file in png format
- sha2 for hashing input data
Installation
$ cargo install lifehash
Using the CLI
$ echo "Hello" | lifehash -m 4
$ lifehash -m 4 -x 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
Testing
$ cargo test --package lifehash
Dependencies
~3.5MB
~63K SLoC