使用7z去计算sha256等值
h (Hash) command
Calculate hash values for files.
Syntax
h [-scrc{Method}] [files]
Supported methods: CRC32, CRC64, SHA1, SHA256, BLAKE2sp. Default method is CRC32.
Examples
7z h a.txt
calculates CRC32 for a.txt.
7z h -scrcsha256 a.iso
calculates SHA256 for a.iso.
来源:https://documentation.help/7-Zip-18.0/hash.htm