#sha-256 #hash #command-line #command-line-tool #utility #compute

app hash-file

A tool to apply sha256 hash function on files

4 releases

0.0.4 Feb 7, 2023
0.0.3 Feb 7, 2023
0.0.2 Feb 7, 2023
0.0.1 Feb 6, 2023

#51 in #sha-256

MIT license

4KB

hash-file

This project provides a command line utility hash-file allowing to compute the sha256 hash function on files.

$ cat test.txt
Bonjour

$ hash-file test.txt
test.txt: 9172e8eec99f144f72eca9a568759580edadb2cfd154857f07e657569493bc44

$ ls Cargo*
Cargo.lock
Cargo.toml

$ hash-file Cargo*
Cargo.lock: 16f27631e298d1cb2486d063b34d90d656fa6e48b4f67bc0b2b7c850e7f6db76
Cargo.toml: 9392d82cf69191a697861d78a572af9d5368a7017be8fdbbbca6b19235e00cfd

Dependencies

~0.8–1.3MB
~30K SLoC