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

app hash-file

一个应用于文件的 sha256 哈希函数的工具

4 个版本

0.0.4 2023 年 2 月 7 日
0.0.3 2023 年 2 月 7 日
0.0.2 2023 年 2 月 7 日
0.0.1 2023 年 2 月 6 日

15 in #sha256

MIT 许可证

4KB

hash-file

本项目提供命令行工具 hash-file,允许计算文件上的 sha256 哈希函数。

$ 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

依赖项

~0.8–1.4MB
~31K SLoC